Open KalebLenfest opened 2 months ago
I have to stick to a design where the dropdown list and container list need to be synchronized on the same border, I never found the solution with props. When researching in the library I discovered the same thing as @KalebLenfest, the Math.floor
property affects the correctness of the elements, in the attached image you can see the difference.
Usually with Math.floor()
:
After the change, remove Math.floor()
:
Please accept the change sent by @KalebLenfest , thank you!
When testing this library, I found that removing the Math.floor would get the correct size of the parent component, whereas with it would end up short in many cases both for width and left specifically