primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.57k stars 988 forks source link

Autocomplete : Unstyled | Tailwind | Loading spinner out of the container #6686

Open manfield opened 3 months ago

manfield commented 3 months ago

Describe the bug

The loading spinner animation is shown out of the container

image

Reproducer

Stackblitz

PrimeReact version

latest

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

  1. Focus on the autocomplete input text
  2. Write something
  3. If the response comes asynchronously after n seconds you can notice the spinner position

Expected behavior

The spinner should overlay the input text as shown in the documentation (that probably runs an older version of PrimeReact)

github-actions[bot] commented 3 months ago

Please fork the Stackblitz project and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.

manfield commented 3 months ago

Rectified the issue title, because it happens only in unstyled mode with Tailwind. Here the case: https://stackblitz.com/edit/vitejs-vite-bdjbba

melloware commented 3 months ago

Thanks changed to a bug!