Comments (4)
Hey,
Thanks for the issue.
I'm assuming you're building for Web first and mobile after?
The navigator2 is mostly for web apps, we definitely haven't tested much the native behaviour for different platforms.
This would be fixed by not using a custom route, which will add back the iOS transition to web, which you can then disable.
Change your routes to Cupertino or Material routes and the functionality should come back. Then disable those transitions on web.
from stacked.
Hi!
Thanks for your response! We are not really building app with the web support, but we decided to use Navigator2 as it was recommended in some doc and we thought that it's the more recent solution to which all apps should navigate if possible at some point.
Changing CustomRoute
to CupertinoRoute
was our first solution, but unfortunately it didn't help, the only thing that made it work was to change Router
back to Navigation1
from stacked.
@FilledStacks any news on that one? We are wondering if we should migrate back to Navigation1 which was the only thing that fixed the issue. But it will be unfortunate, since we want to add web support soon so we might turn up in the same point.
from stacked.
Hey,
No we haven't looked at that. We still build with Navigator1, unless we're building web first.
I don't really recommend Navigator 2 for mobile apps, even though it's hidden in the Stacked implementation I still don't like it.
Cupertino route should fix it, but I haven't tested a Flutter web specific code base on an iOS device so I haven't experienced it myself.
from stacked.
Related Issues (20)
- [docs]: StreamViewModel -> How to check if data is available or not HOT 1
- [bug]: Not adding the .desktop .mobile and .tablet files HOT 4
- flutter_map >=6.0.0 depends on logger ^2.0.1 and stacked_generator >=0.6.5 depends on logger ^1.1.0, flutter_map >=6.0.0 is incompatible with stacked_generator >=0.6.5. HOT 6
- [bug]: Predictive Back Gestures not working with NavigationService HOT 8
- [bug]: Stacked_Themes ThemeManager HOT 2
- [bug]: Migrating to Navigator 2.0 is not updating existing app.route.dart file HOT 4
- [bug]: ViewModelBuilder creates new ViewModel everytime HOT 2
- [bug]: Error when running stacked create service HOT 5
- [feature]: Add --no-test flag to stacked create commands HOT 3
- [feature]: Customizable Logger Filters for StackedLogger HOT 1
- [bug]: Generated form with only drop down form fields has missing methods and multiple errors HOT 1
- [bug]: build runner failing on Stacked-generator-1.6.1-pre.1 HOT 3
- [bug]: isBottomSheetOpen HOT 4
- [bug]: replaceWithTransition doesn't work as expected HOT 2
- how i can navigate to any screen if my app is in the terminated state? HOT 1
- [feature]: WebAssembly (Wasm) Support HOT 4
- Generator not working for routes HOT 4
- [feature]: Google Cloud Logging Output Target for Stacked Logger HOT 3
- [feature]: Lazy construct RouteGuards
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 stacked.