Closed yorsant closed 6 months ago
What does bundle info pagy
give you?
Nevermind. I see it too. Looking into it!
I'm seeing this behavior too. I just noticed it for the first time today. (Perhaps I haven't dealt with multiple pages since last updating Avo.)
Yes. Pagy was updated to v7 in one of your bundle updates and changed some classes. I have a PR in the works. It'll be fixed soon.
@adrianthedev , maybe this issue persists for us using the avo-advanced
gem?
That's interesting! Can you please try bundle update pagy
too?
That should have been fixed.
Describe the bug
The pagination buttons render like this when used on association fields (tabs)
Steps to Reproduce
Find a resource with a
has_many
association. Render that field in a tabExpected behavior & Actual behavior
All buttons should be aligned and have the same sizes.
Models and resource files
System configuration
Rails version: 7.1.3.2
Ruby version: 3.2.2
License type:
Are you using Avo monkey patches, overriding views or view components?
I'm using
self.components = { resource_index_component: Avo::Views::BankAccounts::ResourceIndexComponent }
to adddata: { action: 'click->plaid-link#open' }
to my resource.Screenshots or screen recordings
Additional context
Impact
I haven't check if the buttons work, UI looks broken.
Urgency