hotwired / hotwire-native-android

Hotwire Native for Android
MIT License
41 stars 5 forks source link

Replace page using morphing to avoid flicker #60

Open thedadow opened 2 months ago

thedadow commented 2 months ago

I'm trying to port PWA web-app to turbo native, main problem is bottom navbar which is flickering (actually whole page is flickering when using data-action="replace") as navigation is happening between different paths.

I believe this could be solved with morphing, but turbo is currently lacking way to replace page without navigation/reload/flicker.

Happy to contribute this change (assuming my understanding is correct)