Using DaisyUI with CSS Anchor Positioning Polyfill #4224
Unanswered
arunvickram
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
You can do something like this: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This may be a question for the folks over at Tailwind, but I'm currently working on a project using daisy, and I'm trying to create a an Search+Autocomplete component. My plan for the javascript side of autocomplete component is to use datastar's to fetch the results from the server via AJAX.
Currently what I'm thinking of doing is using an input + dropdown to get the desired effect, which led me to this. Because I'm trying to put the autocomplete results next to the input component, I figured I'd try method 2, which involves using a polyfill on FIrefox-based browsers as listed on the documentation.
It looks like from some initial testing there seems to be an incompatibility with the output css generated by tailwind and the anchor positioning polyfill.
Here's my basic HTML:
Here's my output.css.
(Edited: Forgot to add the errors)

Was wondering what the best practice is for implementing a search bar + autocomplete and what components to use for that purpose? Thanks everyone!
Beta Was this translation helpful? Give feedback.
All reactions