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
Here ya go https://github.com/calebwoods/shoelace_bug just stock Rails 6.1.x app with Shoelace beta64 installed according to the instructions in the site. If I downgrade to beta63 everything works as expected.
I couldn't get the repo to run locally, but I'm 99% sure this is solved in a57526a. The problem is that it's being executed before document.body exists, so checking the ready state should cover all scenarios. If this doesn't solve it for you, please post an update and I'll reopen.
Good catch, document.body is not defined in <head>.
I think this is why i didn't actually call the polyfillFormDataEvent function in my original code: I left for users to do whenever makes sense. But this seems like a reasonable approach if you always want the polyfill applied and not burden users with it
Describe the bug
This bug causes an issue trying to install the latest beta64 in Rails/Webpack environment.
Tracing the error it seems to be related to this new FormDataPolyfil that was introduced in beta64. Specifically this line 33afecf#diff-c91850d5769c47753bcfba7194f46b93902d7ae3b5c22bc5a2261b4b55023685R66
To Reproduce
Steps to reproduce the behavior:
Screenshots
The text was updated successfully, but these errors were encountered: