palantir/blueprint
Vedi su GitHub[V5] ContextMenu does not lazy render popover anymoe
Open
#6171 aperta il 23 mag 2023
P2Package: coreType: bughelp wanted
Metriche repository
- Star
- (20.263 star)
- Metriche merge PR
- (Merge medio 43g 10h) (27 PR mergiate in 30 g)
Descrizione
Environment
- Package version(s): 5.0.0-alpha.3
- Operating System: MacOS
- Browser name and version: Chrome
Steps to reproduce
- We're migrating
ContextMenu2-->ContextMenu, but see some degrade in performance for some of our table.
Actual behavior
-
Lots of portal divs are created in advance, this is not happening with
ContextMenu2, it used to be lazy, -
I am trying to pass
lazy: truetopopoverPropsbut TypeScript complaining, apparently because we only pick a handful of props.
Expected behavior
- lazy should be the default, like it was with
ContextMenu2
Possible solution
I'm not too sure this time...