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

Update paginator logic to not render "..." separator as a link. #168

Open
eliotjordan opened this issue Oct 24, 2024 · 0 comments
Open

Update paginator logic to not render "..." separator as a link. #168

eliotjordan opened this issue Oct 24, 2024 · 0 comments

Comments

@eliotjordan
Copy link
Member

Follow on to #149.

The "..." paginator separators are currently rendered as links which do not trigger paginate events:

type == :pre -> [{page, false}, {"...", false}]
type == :post -> [{"...", false}, {page, false}]

def handle_event("paginate", %{"page" => page}, socket) when page != "..." do

It would be better if these were rendered as a span or div or some other element.

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

No branches or pull requests

2 participants