-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Overlay2 migration
Adi Dahiya edited this page Jan 17, 2024
·
6 revisions
Overlay in Blueprint v6.0 features some breaking changes compared to previous versions. To help you migrate to the new component, we've provided a new component called Overlay2 in @blueprintjs/core
v5.9.0+.
- The child of
<Overlay2>
must be a native DOM element or utilizeReact.forwardRef()
to forward any injected ref to the underlying DOM element. - In addition, if you attach your own
ref
to the child, you must pass the sameReact.RefObject<HTMLElement>
value to<Overlay2>
via thechildRef
prop (we need this to forward along to<CSSTransition>
). In this case, you may only supply a single child element (all other children will be ignored).
- react-day-picker v8 migration
- HotkeysTarget & useHotkeys migration
- PanelStack2 migration
- Table 6.0 changes