fr0tt / benotes

An open source self hosted notes and bookmarks taking web app.
https://benotes.org
MIT License
718 stars 49 forks source link

Pull to refresh not working iOS #88

Open fenty17 opened 1 year ago

fenty17 commented 1 year ago

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?

fr0tt commented 1 year ago

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.

fenty17 commented 1 year ago

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 commented 1 year ago

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

fr0tt commented 1 year ago

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