Skip to content

Width is not recalculated properly if the parent has a scaling animation (e.g. MUI Popover)Β #99

@NadiaIvaniuckovich

Description

@NadiaIvaniuckovich

Hi!

After the latest changes from v1.0.26 old issue #49 seems to be reproducible again, probably due to switch from offsetWidth/offsetHeight to getBoundingClientRect width and height. Here is a fork of initial sandbox example, but with v1.0.26.
Since v1.0.26 changes needed for other issue #96 maybe some alternative approach can be used to avoid both of them, e.g. some recalculations or returning both values, client rect based as primary and offset based as secondary to be used in popovers.

Thanks for your efforts!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions