-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix(crons): Enable pointer events on incident indicator #106319
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
base: master
Are you sure you want to change the base?
fix(crons): Enable pointer events on incident indicator #106319
Conversation
The incident indicator in the crons monitors timeline was not receiving pointer events, preventing user interaction. This change explicitly sets `pointer-events: auto` to resolve this.
| align-items: center; | ||
| z-index: 2; | ||
| height: 20px; | ||
| pointer-events: auto; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what causes us to lose this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CronServiceIncidents is rendered inside PositionedGridLineOverlay, which has pointer-events: none
| pointer-events: none; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malwilley any insight here? Looks like that rule was added with be022ad
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, if you can remove it and everything still works as expected it may have been added erroneously. Feel free to remove on the detector list component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not quite familiar with all of the features of this view so I'd prefer to go with the conservative approach of changing IncidentIndicator pointer-events to auto for now.
Fixes a bug where pointer events were disabled on the incident indicator in the crons monitor timeline, preventing user interaction with the tooltip/indicator.
Added
pointer-events: autoto theIncidentIndicatorstyled component to enable mouse events on the incident indicator