react-day-picker icon indicating copy to clipboard operation
react-day-picker copied to clipboard

website: use shadow DOM to render DayPicker in the examples

Open gpbl opened this issue 3 years ago • 0 comments

In the website we use Sandpack to render DayPicker because Docusaurus overrides the default style from DayPicker.

A workaround for this solution is to use shadow DOM (e.g. via https://www.npmjs.com/package/react-shadow) for a proper style encapsulation. This would provide an optimal testing environment when developing DayPicker.

gpbl avatar Jul 15 '22 23:07 gpbl