Closed VinceBT-BG closed 1 year ago
@VinceBT-BG The example is fixed, thanks for the report😊
You can using arrow={5}
to add 5px
padding from the arrow to the float container:
<Float shift={5} placement="bottom-start" offset={12} flip arrow={5}>
Also if setting the big arrow and must be setting the big padding.
Use Version Use version when bugs appear:
@floating-ui/core
: v1.0.0@floating-ui/dom
: v1.0.0Describe the bug When using
shift
with a value > 0, the arrow sticks out of the boxTo Reproduce
Screenshots![2023-03-13 14 24 18](https://user-images.githubusercontent.com/117643868/224715100-a6fdfd8b-c56d-4888-9152-ee4609ce3b7d.gif)
Expected behavior The arrow should have a minimal
left
to it does not stick out from the container, depending on its size