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
<Filters/> component is throwing an deprecation warning for <Sheet/>
Deprecation: <Sheet /> is deprecated. This component might be removed in a future major version of Polaris. Use <Modal /> instead or avoid modal patterns all together.
Expected behavior
<Sheet/> should be removed from component or warning supressed. Developer cannot resolve it's use when using <Filter/> as intended
Actual behavior
Deprecation warning is filling console with expanded warning messages. Sure I could filter them out but then I don't see any warning messages.
Thanks @meganmajewski! This is definitely something on our radar. We hope to replace the filter pattern in the future and remove the sheet entirely from the design system. For now feel free to use it.
Issue summary
<Filters/>
component is throwing an deprecation warning for<Sheet/>
Expected behavior
<Sheet/>
should be removed from component or warning supressed. Developer cannot resolve it's use when using<Filter/>
as intendedActual behavior
Deprecation warning is filling console with expanded warning messages. Sure I could filter them out but then I don't see any warning messages.
Steps to reproduce the problem
<Filters/>
componentReduced test case
https://codesandbox.io/s/cvee8?module=App.js
Specifications
The text was updated successfully, but these errors were encountered: