benotes icon indicating copy to clipboard operation
benotes copied to clipboard

Pull to refresh not working iOS

Open fenty17 opened this issue 1 year ago • 4 comments

Love Benotes and just started using it. I've added to iPhone homescreen to run as a PWA but it means the only way to show up new items is to navigate away to another collection/page and back. Pull to refresh is natural on mobile so would be a nice addition if it's possible to add?

fenty17 avatar Jun 04 '23 20:06 fenty17

Great to hear ! I'm not sure I understand you correctly. So pull to refresh should work just like on any other website in that particular browser of yours. Apart from that you don't have to refresh at all after creating/updating a post. It should show the new/altered post in its new state automatically.

fr0tt avatar Jun 04 '23 22:06 fr0tt

My bad. I missed one important bit of info for you! I'm using an iOS shortcut to add via share sheet with the API. Of course if I manually add a note in the app it appears straight away, but if added via API there's no way to refresh so the new item appears.

fenty17 avatar Jun 05 '23 06:06 fenty17

@fr0tt - to be clear, pull to refresh works as expected in mobile Safari, but when added to homescreen as PWA this happens

fenty17 avatar Jun 05 '23 11:06 fenty17

It's very odd. Seems to be an issue with iOS

fr0tt avatar Jun 05 '23 19:06 fr0tt