Skip to content

Performance slowdown in all floating ui elements  #8419

@paulcpederson

Description

@paulcpederson

Check existing issues

Actual Behavior

If you have lots of components which use floating-ui (dropdown, combobox, tooltip, popover) after the 2.0 release it is now much slower. There is a long waiting period and scroll performance also suffers.

Expected Behavior

Rendering multiple floating ui components should not cause memory issues or latency in the browser.

Reproduction Sample

https://codepen.io/paulcp/full/WNPPovN

Reproduction Steps

Load the page and notice a long latency before the components appear. Additionally, scroll the page and notice how components will disappear.

Reproduction Version

2.0.0

Relevant Info

No response

Regression?

Yes, unsure of last working version, but the 1.x line seemed fine

Priority impact

p1 - need for current milestone

Impact

Entire interfaces we have built now crawl to a halt. The app is virtually unusable now.

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Online

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.ArcGIS OnlineIssues logged by ArcGIS Online team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.calcite-componentsIssues specific to the @esri/calcite-components package.impact - p1 - need for current milestoneUser set priority impact status of p1 - need for current milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions