Spotlight disappear for sticky target when scrollbar is visible #622
-
First of all, awesome package! I have a problem that I cannot figure out. I have a sticky div that is the target of my tooltip, e.g.
Where md-sticky is a class that is sticky:
When rendering my step it does not get highlighted.
The spotlight element is in the DOM and it is in the right place of the right size and right styling. But the spotlight does not seem to blend with the overlay and hence just becomes another gray overlay making the area actually darker. If the target is not sticky or there is no scrollbar (i.e. the content fits on screen) the spotlight works flawlessly. It almost feels like the overlay and the spotlight somehow become separate stacks and just don't blend. Oh btw, I am using react-bootstrap if that makes any difference (e.g. it sets z-index for most things to 1000-1070). I tried to reproduce the issue in a barebone example but this one gets the same issue even when target is non-sticky and there is no scrolling. https://stackblitz.com/edit/react-ts-wea66c?file=index.tsx Can anyone point me in the right direction? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sorry. This is a duplicate of #411 |
Beta Was this translation helpful? Give feedback.
Sorry. This is a duplicate of #411