daisyui icon indicating copy to clipboard operation
daisyui copied to clipboard

Indeterminate progress bar not working in safari

Open The-Real-Thisas opened this issue 3 years ago โ€ข 1 comments

Description: The Indeterminate progress bar does not work on the latest version of safari. Safari Version: Version 15.1

<progress class="progress w-56"></progress>
Screen Shot 2022-06-08 at 6 34 37 PM

The-Real-Thisas avatar Jun 08 '22 14:06 The-Real-Thisas

The indeterminate progress bar's css makes use of the ::after pseudo-element to inject the shadow element, and animates it. I do not think Safari (and others) supports animating pseudo-elements.

It's possible that to solve this more broadly with only CSS, there has to be two actual HTML elements (ie a "progress" element and an inner "bar" element that could be animated). I'm certainly not an expert, so there might be another way.

chadwick- avatar Jul 07 '22 18:07 chadwick-

duplicate of #1330

saadeghi avatar May 29 '23 18:05 saadeghi