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

ResizeService panics when std_web feature is enabled #1015

Closed
1 task done
nicklaswj opened this issue Mar 10, 2020 · 0 comments
Closed
1 task done

ResizeService panics when std_web feature is enabled #1015

nicklaswj opened this issue Mar 10, 2020 · 0 comments
Labels

Comments

@nicklaswj
Copy link
Contributor

nicklaswj commented Mar 10, 2020

ResizeService panics on the stdweb version of yew

Steps To Reproduce

  1. Create yew project with features = [ "std_web" ]
  2. Create a Component that registers a resize callback with the ResizeService.
  3. Run the project and resize the browser window.
    OR: Download and run the attached example project
    yew_resize_test.zip

Expected behavior
Call the callback without panicking

Environment:

  • Yew version [v0.13.2 and master]
  • stdweb

Questionnaire

@nicklaswj nicklaswj added the bug label Mar 10, 2020
@jstarry jstarry closed this as completed Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants