Topic: Autohide alert remains visible with reduced motion enabled

JustinB free asked 2 weeks ago


My success alert closes normally with default system settings. With reduced motion enabled, it stays visible past the delay.

Is there a supported way to retain autohide?


Igor Przybysz staff answered 2 weeks ago


The difference between the two motion settings points to the alert's transition lifecycle, rather than necessarily to the autohide delay. Please create a minimal example with one alert, its autohide configuration, and the CSS that applies when reduced motion is enabled. Include the alert markup and the order in which the component and your custom styles are loaded.

Compare that example with your custom transition overrides removed while keeping the system preference enabled. Please do not disable the user's reduced-motion setting as a workaround. With the example we can determine whether the component's completion handling or an application style is preventing dismissal.

https://mdbootstrap.com/docs/standard/components/alerts/



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 8.1.0
  • Device: Desktop
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No