For ais-pagination component event page-change doesn't fire on IOS
See original GitHub issueHi guys,
For ais-pagination component event page-change doesn’t fire on IOS, Chrome. This is the code I use:
<ais-pagination :padding="1" v-on:page-change="scrollUp"></ais-pagination>
Pagination itself does work on IOS. Event does fire when I test it on laptop (MacOS). Seems like it’s IOS specific. I use IOS 11.2, IPhone 6s. Chrome version: 63.0.3239.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
ais-instant-search | Vue InstantSearch - Algolia
The ais-instant-search widget is a wrapper that allows you to configure ... the information about the page, modify the state and reapply the...
Read more >Rome Patch 9 - Product Documentation | ServiceNow
For one of the three date-related fields, change the date. Click anywhere. The page freezes for a while. Release Management. PRB1557884.
Read more >Customize a Vue InstantSearch widget | Algolia
Vue InstantSearch supports templating via slots. With them you can customize the markup of each sub part of your components. For example in...
Read more >Fix list for the IBM Business Process Manager Version 8.5 ...
PROCESS ADMIN CONSOLE'S EVENT MANAGER MONITOR CAN'T BE DISPLAYED ... JR57331, IBM PROCESS PORTAL PAGE TITLE DOESN'T REFLECT THE CONTENT OF ...
Read more >instantsearch.js - UNPKG
If the\n * filter is already set, it doesn't change the filters. ... },\n page: {\n connectors: ['connectPagination'],\n widgets: ['ais.pagination', 'ais.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the issue was with jQuery at the end.
alert didn’t appear because of the cache, after I’ve cleared the cache I started to see it. Which means that it does fire the event and the problem is inside the scroll
Changing
$('html').animate({ scrollTop: $('#search-results').offset().top-60 }, 400);
to$('body').animate({ scrollTop: $('#search-results').offset().top-60 }, 400);
fixed it. So it wasn’t vue-instantsearch problem at all
Thank you for your time guys
@alvaxet I know this is a closed thread, but for future people trying this. The full solution (without jQuery) is:
In methods:
In template: