Skip to content

FIO-1217: Fixes masks caret behavior when it is used inside shadow DOM #3693

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 5 commits into from
Feb 3, 2021

Conversation

alexandraRamanenka
Copy link
Contributor

Also required changes in text-mask lib. I have already created a PR text-mask/text-mask#1034

@travist
Copy link
Member

travist commented Jan 27, 2021

We will need to refer to our fork until they pull this in.

@travist travist merged commit 9604224 into refactor-embed Feb 3, 2021
ygist added a commit to ygist/formio.js that referenced this pull request May 24, 2024
To fix an issue where calendar widget's masked date caret position is wrong on shadowDOM

CalendarWidget extends Element and uses setInputMask. setInputMask needs shadowRoot for text-mask to work properly. formio#3693 previous fixed the text-mask for other inputs, but the fix does not appear to work for the CalendarWidget because it does not have a (WebForm) root.

Relates to https://github.com/text-mask/text-mask/pull/1034/files
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants