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

SpeedDial showing 0x0 #532

Open
jerrensss opened this issue Apr 17, 2023 · 0 comments
Open

SpeedDial showing 0x0 #532

jerrensss opened this issue Apr 17, 2023 · 0 comments

Comments

@jerrensss
Copy link

Describe the bug
I'm trying to insert a speed dial through plain JS, and when I go in the browser, it shows 0x0.
To Reproduce
Steps to reproduce the behavior:
My code:

const dial = document.createElement('div')
dial.setAttribute('data-dial-init','')
dial.setAttribute('class','fixed right-6 bottom-6 group')
body.appendChild(dial)
const dialMenu = document.createElement('div')
dialMenu.setAttribute('class','flex flex-col items-center hidden mb-4 space-y-2')
dialMenu.setAttribute('id',"speed-dial-menu-default")
dial.appendChild(dialMenu)

Expected behavior
I expected the speed dial to be present, yet when the code above is executed, it is now.
Screenshots
image
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
  • Version 111

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Additional context
none :D

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

No branches or pull requests

1 participant