Skip to content

Don't preventDefault() scroll when the table is at scroll min or max#90

Merged
texodus merged 1 commit intomasterfrom
scroll-overflow
Sep 14, 2020
Merged

Don't preventDefault() scroll when the table is at scroll min or max#90
texodus merged 1 commit intomasterfrom
scroll-overflow

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented Sep 14, 2020

When regular-table is embedded in a page or HTMLElement which is scrollable, the <regular-table> custom element will preventDefault() mousewheel and touch events, causing these actions to not scroll the parent. As do embedded scrollable standard HTMLElementss already, this PR makes <regular-table> stop intercepting these events when the scroll container is at its min or max position.

@texodus texodus merged commit a3bd9be into master Sep 14, 2020
@texodus texodus deleted the scroll-overflow branch September 14, 2020 07:27
@texodus texodus added the bug Concrete, reproducible bugs label Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Concrete, reproducible bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant