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
And I think the InlineGrid ref is undefined because the ref prop is not mentioned in the InlineGrid docs, or the ref prop was removed from InlineGrid in a historical change.
Maybe React updated some ref API recently, which affected the ref check in the demo code.
Expected behavior
switch to another input keep popover opening
Actual behavior
switch to another input will close popover
Steps to reproduce
Are you using React components?
None
Polaris version number
13.2.0
Browser
Microsoft Edge
Device
macOS 14.1.2
The text was updated successfully, but these errors were encountered:
Summary
In the demo code, when the input blur event is triggered, it will use the InlineGrid ref to check if the target element exists in the Popover.
https://github.com/Shopify/polaris/blob/main/polaris.shopify.com/content/patterns/date-picking/variants/date-range.mdx?plain=1#L189
https://github.com/Shopify/polaris/blob/main/polaris.shopify.com/content/patterns/date-picking/variants/date-range.mdx?plain=1#L286
And I think the InlineGrid ref is undefined because the ref prop is not mentioned in the InlineGrid docs, or the ref prop was removed from InlineGrid in a historical change.
Maybe React updated some ref API recently, which affected the ref check in the demo code.
Expected behavior
switch to another input keep popover opening
Actual behavior
switch to another input will close popover
Steps to reproduce
Are you using React components?
None
Polaris version number
13.2.0
Browser
Microsoft Edge
Device
macOS 14.1.2
The text was updated successfully, but these errors were encountered: