Comments (6)
I have this issue too! Don't know how to fix it though
from turbo-ios.
In #78 I shared some code to customize the load indicator. I havenβt tried delaying it but it might help you get started.
from turbo-ios.
I took a pass in PR #92. Let me know if that works for you, @tabuna!
from turbo-ios.
Hi @joemasilotti. Thank you very much for the promptness, but this does not solve the problem. I tried the codebase from the PR and it removed the loading indicator, leaving only the background. Because during the request this background is displayed, the flickering problem remained.
In PWA or regular WEB, the browser shows the current page during loading new. But in the application on iOS, the screen on which the transition was immediately replaced by an empty background + loading indicator.
from turbo-ios.
Oh, yeah that's an entirely different problem.
The maintainers can correct me if I'm wrong, but I don't think that is something that will be changed in this library. The change to white background plus transition is what makes the app feel native. If you want to replicate a PWA you might be better off not using the turbo-ios library at all and instead hosting a WKWebView
directly.
from turbo-ios.
@joemasilotti Thanks a lot! I wasn't sure if this behavior was intentional because I wasn't used to it.
I used more <turbo-frame>
to solve my problem.
from turbo-ios.
Related Issues (20)
- Downloading the file from the link HOT 4
- Completion handler passed to -[Turbo.ColdBootVisit webView:didReceiveAuthenticationChallenge:completionHandler:] was not called HOT 2
- navigationController is nil in Demo HOT 1
- CSS not loading sometimes for Android and iOS app HOT 1
- How to display the initial boot screen HOT 3
- Cancelled swipe back will reload page HOT 3
- Turbo-stream link with GET request being interpreted as HTTP request in turbo-ios HOT 6
- Quick Start Guide is partially outdated
- Focus on input field crashes the app HOT 2
- mobile rails app with Turbo.session.drive = false HOT 1
- Stimulus Binds Twice on New Page after Redirect to GET Request HOT 9
- Publishing to CocoaPods repo HOT 1
- Turbo for react native. HOT 2
- Turbo reload breaks webview HOT 1
- Submitting forms via form.submit() broken? HOT 3
- [Feature request] Add `pull_to_refresh_enabled` HOT 2
- accessing route params HOT 3
- Effects for navigation bar in modal HOT 12
- Double request after redirect HOT 2
- Cookies get removed when app closes HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turbo-ios.