Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.46k stars 215 forks source link

First click for toggling a column after page load isn't working #1339

Closed edwinheij closed 7 months ago

edwinheij commented 7 months ago

Have you searched through other issues to see if your problem is already reported or has been fixed?

Yes, I did not find it.

Did you read the documentation?

Yes, I did not find it.

Have you tried to publish the views?

Yes - I didn't work.

Is there an error in the console?

No

PHP Version

8.2.14

PowerGrid

5.2.2

Laravel

10.41

Livewire

3.3.5

Alpine JS

3.13.3

Theme

Bootstrap

Describe the bug.

First click for toggling a column after page load isn't working; following click are working! Network XHR request is the same. Couldn't find so quickly where this is trugling, I guess somewhere around here: image (@ PowerGridComponent.php)

Hope you can find it.

To Reproduce...

Let the page load, open column toggle popup and select a column. Network request is send but the is no DOM update. Second time you click, things a doing like it supposed to do.

Extra information

Nothing here...
luanfreitasdev commented 7 months ago

Fixed: https://github.com/Power-Components/livewire-powergrid/releases/tag/v5.3.3

Can you confirm, please?

edwinheij commented 5 months ago

bit late here. I'm sorry. Tried to install the newest version and also version 5.3.3, but my filters are gone. Has to investigate why (I'm using my own templates what gives me some problems with new versions).