django-crispy-forms / crispy-tailwind

A Tailwind template pack for django-crispy-forms
MIT License
329 stars 56 forks source link

Extra downward arrow in select widget #124

Open SumitBando opened 1 year ago

SumitBando commented 1 year ago

Using Tailwindcss v3.1.6, I get an extra downward arrow:

Screen Shot 2022-08-22 at 10 04 05 PM

There has not been a release for a while, is this supposed to work with Tailwind 3.x?

Coming from the line https://github.com/django-crispy-forms/crispy-tailwind/blob/91c35473f479800e85f60b1fa4d0cf5fc0127f2c/crispy_tailwind/templates/tailwind/layout/select.html#L10

If needed, can create a repo reproducing bug.

stryker-design commented 1 year ago

Did you fin a fix for this?

blasferna commented 1 year ago

Are you using the @tailwindcss/forms plugin?

From my experience, if we use the @tailwindcss/forms plugin the arrow appears the same, it doesn't matter if we use the appearance-none class. See example at https://play.tailwindcss.com/DhYdTRakla

SumitBando commented 1 year ago

@stryker-design , no real fix, just suppressed with some css hack: div.relative > .pointer-events-none { display: none; }