noeldelgado / gemini-scrollbar

:first_quarter_moon: Custom overlay-scrollbars with native scrolling mechanism for web applications

Home Page:https://noeldelgado.github.io/gemini-scrollbar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] e.stopImmediatePropagatio() really need?

vlukyanoff opened this issue · comments

Hi, @noeldelgado!

I can't use mouseDown event on block with gemini scrollbar because gemini call e.stopImmediatePropagation() in _startDrag function.
I know, stop propagation isn't best practice, because it changes standart behavios of the browser.
Maybe, is there way to avoid stop propogation in this case?

e.stopImmediatePropagation();

Hi @vlukyanoff, did #56 fix the issue? (v1.5.3)

Hi @noeldelgado! Yes, it fixed the issue. Thank you!

I would be great if gemini-scrollbar were peerDependency of react-gemini-scrollbar to avoid such update needs.

@vlukyanoff done, thanks!