mdbootstrap / material-design-for-bootstrap

Important! A new UI Kit version for Bootstrap 5 is available. Access the latest free version via the link below.
https://mdbootstrap.com/docs/standard/
MIT License
9.35k stars 1.15k forks source link

All Material dropdown not auto Close In Server System #246

Open sqlnew opened 5 years ago

sqlnew commented 5 years ago

Material dropdown Component not auto Close MDB Version: 4.8.0 or Following Device: PC Browser: Chrome, FireFox, IE OS: Windows 2008R2

When using the Material dropdown component, when you open the dropdown menu, you can't close it any more. Including the drop-down menu. With the latest version of Chrome, the latest version of FireFox is the same problem. I tested the results under Windows 2008 R2 and Windows 2016 server. I wonder if this bug exists in the server system.

20190608224211

20190608224041

20190608224119

20190609134051

klegni commented 4 years ago

The problem is that most Servers will ask for reduced motions: and in mdb.js is the following: @media (prefers-reduced-motion) .animated { -webkit-animation: unset!important; animation: unset!important; -webkit-transition: none!important; -o-transition: none!important; transition: none!important; } In .js it's expected that the animations runs to the end, but they don't and that's why it doesn't work.

mateuszlubianka1993 commented 4 years ago

Hi, We will check this soon. Thank you for this post. Best,

SyzbaLinux commented 4 years ago

Please resolve the issue I am facing a similar problem with some devices

sqlnew commented 4 years ago

I just used the latest version 4.14.0, and this problem still exists. It seems that the author does not intend to fix it.

I need to modify mib.js manually every time to avoid this problem, which is very troublesome.

Because this problem will affect the whole menu operation in Windows Server Version, it cannot be avoided. Windows 2008R2, windows 2012, windows 2016, windows 2019, chrome, Firefox, Ms edge and other browsers all have this problem! I hope the author can fix this problem as soon as possible!