Leave modifier for x-intersect #1921
SimoTod
started this conversation in
3. Feature Ideas
Replies: 2 comments 7 replies
-
I did mention this while ago, didn't got a response. Shouldn't be hard to achieve. |
Beta Was this translation helpful? Give feedback.
7 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Chatting to other users on the discord channel, we feel that a leave modifier for x-intersect would be really useful and it's been asked a couple of times.
For example, a page with sections and a fixed menu with anchor links to jump at the right point of the page. Using x-intersect, we are able to apply a special class to the menu item to "highlight" it but we don't have a callback to remove that class when we leave the section.
Would you accept a PR for this or do you think there's no enough request to justify it? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions