Set Popover transition effect according to current position #1204
u3u
started this conversation in
Feature requests
Replies: 1 comment
-
No, currently, there is no way of subscribing to position changes. We may work on this feature in the next major release. |
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
-
I want the transition to be bottom-up if the current
position
istop
and top-down if theposition
isbottom
There doesn't seem to be a way to implement this at the moment, can we consider passing
transition
as a function?transition: MantineTransition | (params: { position: string, placement: string }) => MantineTransition
mantine/src/mantine-core/src/components/Popper/Popper.tsx
Lines 155 to 169 in b5d341b
Beta Was this translation helpful? Give feedback.
All reactions