Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question(usage): replace native scrollbar for tables #62

Open
Kristinita opened this issue May 11, 2018 · 0 comments
Open

question(usage): replace native scrollbar for tables #62

Kristinita opened this issue May 11, 2018 · 0 comments

Comments

@Kristinita
Copy link

1. Summary

I can't replace native table horizontal scrollbar, use gemini-scrollbar.

2. Example

I add table to example from my previous issues:

I want to replace native horizontal scrollbar for tables.

3. Not helped

3.1. Creating table element

I add to source these lines:

internals.tablescrollbar = new GeminiScrollbar({
    element: document.querySelector(".justtable"),
    autoshow: !0,
    forceGemini: !0
}).create(),

GeminiTableResult

Problems:

  1. GeminiScrollbar on top of the native, but not replace it
  2. Scrollbar in bottom of page not removed

4. Working examples

I can't find real examples for tables in:

  1. Examples of official repository
  2. GitHub

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant