You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Looking at flame graphs when debugging typeahead performance reveals hundreds of milliseconds spent recalculating styles in Fabric's Stylesheet.js. The root cause appears to be originating from Callout. Current approach will be to ditch use of Callout for type ahead - we actually don't need the things it provides such as animation, and positioning logic and are better off using an absolutely positioned `DIV with a border radius + shadow. However, future features that are highly interactive and re-render on keypresses may encounter similar issues.
please report this in Fabric. we get things like positioning + beak for free and it would be ideal to get perf issues fixed in the Fabric repo rather than own this ourselves
Looking at flame graphs when debugging typeahead performance reveals hundreds of milliseconds spent recalculating styles in Fabric's Stylesheet.js. The root cause appears to be originating from Callout. Current approach will be to ditch use of Callout for type ahead - we actually don't need the things it provides such as animation, and positioning logic and are better off using an absolutely positioned `DIV with a border radius + shadow. However, future features that are highly interactive and re-render on keypresses may encounter similar issues.
Chrome Perf Profile.zip
The text was updated successfully, but these errors were encountered: