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

Fix highlight button causing issues clicking underlying track features #4594

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

cmdcolin
Copy link
Collaborator

The bookmark highlights added a clickable button to "show bookmark widget" or "remove bookmark" recently (#4556), but it caused some minor issues interacting with the track surrounding the highlight.

The possible cause was creating a pointerEvents:auto inside of a pointerEvents:none div. This seemed to work ok but maybe caused the weird behavior.

This PR tries to fix it by making the click button a separate div from the highlight div, so there is less reliance on this "stacking" of pointerEvents contexts.

Fixes #4579

@cmdcolin cmdcolin merged commit 825a135 into main Sep 27, 2024
4 checks passed
@cmdcolin cmdcolin deleted the highlight_z branch September 27, 2024 19:42
@cmdcolin cmdcolin added the bug Something isn't working label Oct 15, 2024
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.

bookmark prevents clicking on regions in cram
1 participant