gabrielpetersson / fast-grid

World's most performant DOM-based web table.
https://fast-grid.vercel.app/
MIT License
598 stars 8 forks source link

Crashes on iOS Safari #4

Open tom-leamon opened 2 weeks ago

tom-leamon commented 2 weeks ago

The demo crashes within a couple seconds on iPhone due to memory usage issues.

gabrielpetersson commented 1 week ago

which iphone? it loads 100k rows by default which should be fine for any phone even older ones

tom-leamon commented 1 week ago

Technically it's not an iPhone issue, its a Safari limitation. On iOS Safari, memory for a single tab is limited to 384MB. Yes, it's ridiculous but it's also reality. Consider doing a user agent check and making sure not to load too much memory so it can work on iPhone.