Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening a modal shows an empty white line on top of the backdrop. #487

Open
fefo-p opened this issue Dec 3, 2024 · 1 comment
Open

Opening a modal shows an empty white line on top of the backdrop. #487

fefo-p opened this issue Dec 3, 2024 · 1 comment

Comments

@fefo-p
Copy link

fefo-p commented Dec 3, 2024

Dependencies

composer

"php": "^8.1"
"laravel/framework": "^9.52.18"
"wire-elements/modal": "^1.0.8"
"livewire/livewire": "^2.12.8"

npm

"alpinejs": "^3.14.4",
"laravel-mix": "^6.0.49",
"tailwindcss": "^3.4.15"

Steps to reproduce

<x-button outline="false" onclick="Livewire.emit('openModal', 'actualizar-contratacion', {{ json_encode([$contratacion]) }} )">

When clicking this button, the correct component is called, and every property is correctly loaded.
However, when rendering it, the backdrop appears with a single lined white window on top.
When getting into the HTML of that modal, the contents of this white lined window is NOT displayed because the div has a

style="display: none;"

If changed to

"display: block;"

it shows correctly.

Now, this is happening to every wire-element/modal component I have.

@fefo-p
Copy link
Author

fefo-p commented Dec 3, 2024

For the time being, installing alpinejs: "3.13.7" works fine
(note the lack of ^ in the version number)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant