Closed ayoung19 closed 1 year ago
@ayoung19 Thanks for the PR, but to achieve the desired effect, you can use transform={false}
instead, the transform
prop allows users to choose their preferred positioning method (transform or top/left) (see: https://headlessui-float.vercel.app/react/other-options.html#position-mode), so I will close this PR for now 😅.
ah got it, totally missed that option. i think the default should be false because if we want the normal correct behavior we have to put transform={false} everywhere and it's not really clear that the reason for that is to make it not blurry
OK, I'll do some research to see if this adjustment is a breaking change.
If you zoom out in the browser on some devices, floating items are blurred.
description of the issue: https://github.com/floating-ui/floating-ui/issues/779
mention of blurriness in floating-ui docs: https://floating-ui.com/docs/misc#subpixel-and-accelerated-positioning
fixing with basic floating-ui example: https://floating-ui.com/docs/react#positioning