You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a big table as a partial, for which I use pagination (kaminari) to split the content to different pages. Each row of the table corresponds to an offcanvas element that are rendered in the parent element via a content_for tag. When I navigate to another page via pagination the offcanvas elements are not updated, probably because they are in the parent element, which is only rendered once and not rendered when navigating to one of the pagination pages.
I have the offcanvas elements in the main application layout because I want them to use the entire size of the viewport. If I put them in the partial, they are only contained in its size. When I put them in the layout they are not updated via pagination. Any ideas how I can get them updated when I switch pages? Thanks a lot.
The text was updated successfully, but these errors were encountered:
Hi guys,
I have a big table as a partial, for which I use pagination (kaminari) to split the content to different pages. Each row of the table corresponds to an offcanvas element that are rendered in the parent element via a content_for tag. When I navigate to another page via pagination the offcanvas elements are not updated, probably because they are in the parent element, which is only rendered once and not rendered when navigating to one of the pagination pages.
I have the offcanvas elements in the main application layout because I want them to use the entire size of the viewport. If I put them in the partial, they are only contained in its size. When I put them in the layout they are not updated via pagination. Any ideas how I can get them updated when I switch pages? Thanks a lot.
The text was updated successfully, but these errors were encountered: