Replies: 5 comments
-
Thanks for the detailed review. I really appreciate it.
|
Beta Was this translation helpful? Give feedback.
-
I do, in fact, have that enabled already. Had completely forgotten about that setting and its impact on the behavior, but good to know going forward.
Safari has a bug? I am... not at all surprised. I recall having issues with this when implementing the design for my day job, but I never connected the dots to a possible bug. I did get the issue mostly resolved, but the context of that was abstracted from the details (TailwindCSS) so I don't really have a clear sense of what needed to happen to address it -- or even if it was an issue with the same widgets or something else. I wish I'd kept better notes on that so I could compare with you to see if it was the same issue that I worked around, or a separate issue that manifests in visually similar ways.
The "Collapse with focus" example seems to work. The "Collapse with checkbox" example I can sometimes close but usually not. Also, I think I forgot to include this Safari focus ring issue but was just reminded of it while refreshing my memory on the collapse issues:
Ah, gotcha. Makes total sense. You're sticking to pure CSS with your project, I assume?
Ah! Didn't catch the lack of
Ahh! Another out-of-scope matter. Gotcha. Makes total sense. |
Beta Was this translation helpful? Give feedback.
-
Have you considered any solutions from DaisyUI's end, or will you wait for Apple to fix this? The tweet with the safari bug is almost 1yo and according to the latest statistics 1 in 5 web users will now see an inconsistent form UI with this package. Safari might be the new IE, but the old IE actually died. Safari did not. |
Beta Was this translation helpful? Give feedback.
-
@CRdeGraaf I wish there was a solution, but until next Safari update, we can't do anything. |
Beta Was this translation helpful? Give feedback.
-
HI there 👋 You can view solution in codepen Some screenshots: Let me know if I can contribute and fix the bug with borders.😄 |
Beta Was this translation helpful? Give feedback.
-
Let me start by saying that I love what you've done with this project. Absolutely gorgeous, and very well thought out. Also, I'm not sure if you consider all of what I'm going to list as in-scope, so if not, my apologies. Similarly, if some of these are already on your radar, my apologies.
I was doing a quick review of the various widgets available to see if this project meets my needs and ran into a bunch of issues. Safari 15.3 (17612.4.9.1.8), and Chrome 99.0.4844.51 -- both on macOS 12.2.1 -- are the platforms I tested.
I've organized my notes into three sections: Browser-specific (broken down by widget), widget-specific, and cross-cutting issues:
Safari
Focus Rings
Collapse Widget
Doesn't close properly when clicked.
Swap
In the "Swap icons with flip effect", there's z-fighting issues when flipping from devil to angel.
Chrome
Swap
In the "Swap icons with flip effect", the animation seems to get ahead of itself, cutting over to the end image before the animation has finished. Hard to be sure with the animation happening so quickly, though.
Widget-Specific
Ranges
It might be handy if ranges supported, say, a shift modifier to move in larger steps when navigated via keyboard.
Glass Buttons
Depending on the background color, the text can have contrast issues. Is outlining the text in a contrasting color a possibility?
Cross-Cutting Concerns
Keyboard Navigation
General
The following items don't appear to support keyboard navigation at all, which is surprising in a few cases:
Given that for some widget types, keyboard navigation can't really be meaningfully integrated without major changes, perhaps it might be of value to categorize widgets according to whether or not keyboard-navigation is something supported, on the roadmap to be supported, or not on the agenda at all. Strictly to help set expectations, and help developers for whome keyboard navigations support is a priority get ahead of any issues by sticking to components where that's viable.
Carousels
Challenging in all browsers because the buttons are associated with each image. E.G. Hitting the next-image button leaves the focus on that very button, so you need to press tab twice to move forward to the next button for the now-displayed image.
Beta Was this translation helpful? Give feedback.
All reactions