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

Component | Timeline: Changing the way we handle scrolling #138

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

rokotyan
Copy link
Contributor

Fixes #103

• Enabling pointer-events for rows to allow for tooltip events;
• Attaching row type (label) as data to row elements;
• Removing the logic of setting pointer-events to false while scrolling and adding this._onMouseWheel event handler to [Timeline.selectors.line]. The tooltip will be hidden upon scrolling.

Screen.Recording.2023-02-13.at.4.47.36.PM.web.mp4

Fixes #103

• Enabling `pointer-events` for rows;
• Attaching row type (label) as data to row elements;
• Removing the logic of setting `pointer-events` to `false` while scrolling and adding `this._onMouseWheel` event handler to `[Timeline.selectors.line]`.
@rokotyan rokotyan added the bug Something isn't working label Feb 14, 2023
@rokotyan rokotyan added this to the Release v1.0.3 milestone Feb 14, 2023
Copy link
Collaborator

@reb-dev reb-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good!

@rokotyan rokotyan merged commit de665e6 into main Feb 14, 2023
@rokotyan rokotyan changed the title Component | Tooltip: Changing the way we handle scrolling Component | Timeline: Changing the way we handle scrolling Feb 15, 2023
@rokotyan rokotyan mentioned this pull request Feb 15, 2023
@rokotyan rokotyan deleted the fix/timeline-scroll-tooltip branch May 22, 2023 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tooltip triggers on timeline don't seem to work for line/lines and rows
2 participants