Skip to content

Components: Popover uses top and left positioning hurting scroll performance #45382

@corentin-gautier

Description

@corentin-gautier

Using top and left positioning triggers a repaint of the area which could be avoided using transform : translate(x, y), improving performances (currently the scroll performances of the editor are not really good, even more when using fixed backgrounds)

left: Number.isNaN( x ) ? 0 : x ?? undefined,

Screen.Recording.2022-10-28.at.15.47.36.mov

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions