Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove scale logic in getBoundingClientRect #1380

Merged
merged 4 commits into from Sep 30, 2021

Conversation

atomiks
Copy link
Collaborator

@atomiks atomiks commented Sep 27, 2021

Fixes issue with elements of non-integer sizes (#1351 (comment))

The logic for the scaleX / scaleY is faulty as explained in the comment, I can't quickly think of a solution but positioning is broken for all elements that aren't an integer of width or height. I think it takes priority over the scaling based on the issues I've been receiving for Tippy

@rollingversions
Copy link

rollingversions bot commented Sep 27, 2021

Change Log for @popperjs/core (2.10.1 → 2.10.2)

Bug Fixes

Edit changelog

@atomiks atomiks changed the title fix: remove round function fix: remove scaleX/scaleX logic in getBoundingClientRect Sep 27, 2021
@atomiks atomiks changed the title fix: remove scaleX/scaleX logic in getBoundingClientRect fix: remove scale logic in getBoundingClientRect Sep 27, 2021
@FezVrasta FezVrasta merged commit 2e909c7 into floating-ui:master Sep 30, 2021
@FezVrasta FezVrasta deleted the patch-2 branch September 30, 2021 11:19
@FezVrasta
Copy link
Member

Thanks, too bad we need to revert that feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants