Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

export default waitForElementTransition; error #213

Closed
Jerit3787 opened this issue Feb 26, 2021 · 7 comments · May be fixed by #325
Closed

export default waitForElementTransition; error #213

Jerit3787 opened this issue Feb 26, 2021 · 7 comments · May be fixed by #325

Comments

@Jerit3787
Copy link

Hello,
may I know why I do get this error from the lines on your code?

Error : Uncaught SyntaxError: Unexpected token 'export'
export default waitForElementTransition;

@markcellus
Copy link
Owner

Which browser and OS version?

@Jerit3787
Copy link
Author

Microsoft Edge 88 with Windows 10 Home 20H2 installed

@markcellus
Copy link
Owner

markcellus commented Feb 28, 2021

Thanks for that info. I'll check that browser specifically since I'm not seeing any issues on non-microsoft browsers I've checked. But before I do that, can you also tell me exactly what element you're passing to waitForElementTransition? And what css properties are being applied that you're "waiting" for?

@Jerit3787
Copy link
Author

oh I was passing 'div' to the function and its was applying changes to the width. So, I wanted to wait for the transition to finished then show up other div. Thanks in advance

@markcellus
Copy link
Owner

markcellus commented Mar 14, 2021

@Jerit3787 Just checked on Edge browser and not seeing this error. How are you loading the javascript for the package? An actual code snippet would help.

@Jerit3787
Copy link
Author

Hmm maybe an issue with the live-preview plugin that I use in vscode.

@markcellus
Copy link
Owner

No problem. I'm going to close this issue for now but feel free to leave a comment once you can reproduce with a code snippet. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants