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

Temporary drawer in dev doc drawer playground causes the console to screen with errors #852

Open
huayunh opened this issue Feb 13, 2024 · 0 comments
Labels
brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering bug Something not working as expected
Milestone

Comments

@huayunh
Copy link
Contributor

huayunh commented Feb 13, 2024

Describe the bug / expected behavior

Temporary drawer's code snippet triggers Uncaught RangeError: Maximum call stack size exceeded error in the console. This appears to exist only on the mobile view, and only with the temporary drawer.

What are the steps to reproduce?

  1. Go to Dev Doc Drawer playground (dev branch)
  2. Shrink your browser size to ensure it is showing the mobile view. Bring up the developer console in your browser to see the drama.
  3. In the "props & code" bottom sheet, set the drawer variant to be temporary
  4. Click on the "code" tab to view the generated code snippet.

Screenshots / Screen recording

Drawer.console.error.mov
@huayunh huayunh added bug Something not working as expected needs-review Issues that we would like to revisit/review brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering labels Feb 13, 2024
@surajeaton surajeaton removed the needs-review Issues that we would like to revisit/review label Feb 14, 2024
@ektaghag-eaton ektaghag-eaton added this to the 7.0.0 milestone Jul 2, 2024
@joebochill joebochill modified the milestones: 7.0.0, 6.3.1 Jul 11, 2024
@ArshdeepSingh3-eaton ArshdeepSingh3-eaton modified the milestones: 6.3.1, 7.0.0 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brightlayer-ui Used to identify Brightlayer UI platform issues for easy filtering bug Something not working as expected
Development

No branches or pull requests

5 participants