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

"Mouse-wheeling" does not work on fixed positioned elements #26

Open
rowild opened this issue Sep 22, 2017 · 0 comments
Open

"Mouse-wheeling" does not work on fixed positioned elements #26

rowild opened this issue Sep 22, 2017 · 0 comments

Comments

@rowild
Copy link

rowild commented Sep 22, 2017

In my case, I have some fixed-positioned elements. I put the "ss-containter" on the body tag.
Once the fixed elements come into view, the scroller does not work anymore, when the mousewheel is used. And if the first element in the document flow is fixed, then scrolling is just not possible...
(mac OS 10.12.6, Chrome 61)

EDIT:
It seems that - at least on Chrome - the issue can be handled by setting

div {
    position: fixed;
    pointer-events: none
}

on fixed elements. That, of course, also means that all elements within the fixed element, that require some sort of mouse/cursor interaction, need a

div {
    position: relative;
    pointer-events: all
}

assigned again.
Seems to work since IE 10, but needs to be confirmed.

@rowild rowild changed the title Does not work on fixed positioned elements "Mouse-wheeling" does not work on fixed positioned elements Sep 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants