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

[Bug]: Dropdown not saving options #377

Open
3 tasks done
jman13378 opened this issue Jun 12, 2023 · 5 comments
Open
3 tasks done

[Bug]: Dropdown not saving options #377

jman13378 opened this issue Jun 12, 2023 · 5 comments
Labels
bug Something isn't working component: dropdown

Comments

@jman13378
Copy link

Before submitting...

Context

when i initialize a Dropdown and set the hover to true it then sets to false

Current Behavior

sets to false

Expected behavior

set to true

Possible Solutions or Causes

I have no idea

Steps to reproduce

use the code in https://jsfiddle.net/5av84yj2/7/ - works

site testing [Website dashboard](https://dashboard.sokobot.info) - login with discord - recommended to test
Desktop.2023.06.11.-.17.50.31.01.mp4

Your Environment

  • Version used: latest 2.0.1-alpha
  • Browser Name and version: Google Chrome Version 114.0.5735.110 (Official Build) (64-bit)
  • Operating System and version (desktop or mobile): desktop Version 10.0.19045.2965
  • Additional information you want to tell us:
@jman13378 jman13378 added the bug Something isn't working label Jun 12, 2023
@ivanBell199
Copy link

It looks like your hover setting gets lost when you go from dashboard.sokobot.info/dashboard to dashboard.sokobot.info. Are you sure you initialize the dropdown the same way for both pages?

@jman13378
Copy link
Author

jman13378 commented Jun 15, 2023

wdym the site is in express loaded through ejs which I have templates for and I use M.AutoInit in my footer template file

also the dropdown on /dashboard didnt have hover i clicked on it

@ivanBell199
Copy link

In your jsfiddle you do not have AutoInit. If you show the exact code that has the issue, it will be easier to help

@jman13378
Copy link
Author

i gave the exact code relevant to this issue

@gselderslaghs
Copy link

This seem to work as expected in version 2.1.1. I've added a working example at CodePen
@jman13378 could you confirm this is fixed from your side, perhaps this issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component: dropdown
Projects
None yet
Development

No branches or pull requests

4 participants