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
(PDS-584) Add mechanism for force updating Overlay
Updated `show` prop to allow a string so that the Overaly can be
updated if the value of `show` changes. This is useful if the UI shifts
and the target is not in the same position as it was when the overlay
was created.
/** Optional (default false). Whether or not the overlay should be rendered. */
23
-
show: PropTypes.bool,
24
-
/** React ref for the DOM element that should be used to position the overlay. */
25
-
target: reactRef.isRequired,
22
+
/** Optional (default false). Whether or not the overlay should be rendered. String value can be used instead of boolean to force the overlay to recalculate its position when the value changes. */
0 commit comments