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
Fun fact - this was discovered while trying to use TDP inside an angular app that had been added to a shadowDom using their ViewEncapsulation.ShadowDom option. The date picker styles are inside the shadow root, but TDP attaches itself to the body and therefore can't pick up and use the styles.
Probably nobody noticed when their custom appendTo element failed because the dropdown would still work on a page without the shadowDom boundary.
The dist folder has an old build which ignores the
appendTo
parameter. Can you please update and publish so this works as expected from NPM?From dist https://github.com/chrisdavies/tiny-date-picker/blob/master/dist/tiny-date-picker.js#L674
From src https://github.com/chrisdavies/tiny-date-picker/blob/master/src/mode/base-mode.js#L32
The text was updated successfully, but these errors were encountered: