bito-code-review[bot] commented on PR #40805:
URL: https://github.com/apache/superset/pull/40805#issuecomment-4632448876
<!-- Bito Reply -->
The flagged issue is correct. Setting `pointer-events: none` on the
`StyledToastPresenter` container disables all pointer interactions, including
the scrollbar, which prevents users from scrolling through a long list of
toasts. To resolve this, you should set `pointer-events: auto` on the container
itself, but ensure the container does not block clicks in its empty space. A
common approach is to use a transparent overlay or ensure the container only
occupies the space necessary for the toasts, or alternatively, use
`pointer-events: auto` on the container and handle click-through behavior by
checking if the click target is the container itself versus a child toast.
**superset-frontend/src/components/MessageToasts/ToastPresenter.tsx**
```
height: calc(100vh - 100px);
/* Allow pointer events on the container to enable scrolling */
pointer-events: auto;
display: flex;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]