Comments (2)
How are you running it on Android? For example, I just cloned this repo and tested pushState in Chrome on my Android phone. I also added it to home screen in Chrome and tried it that way. In both cases, the back button worked as expected.
Incidentally, any Framework7 initialization parameter can simply be passed in as props to the Framework7App component. This is what mine looks like:
<Framework7App themeType="ios" routes={routes} pushState={true} pushStateSeparator="">
This is the only change I made after cloning the repo. Perhaps you could try making another clone and test it with the code above? I wouldn't expect my syntax to necessarily work differently than yours, but you never know.
from framework7-template-react.
That's good, i changed my code and it worked.
But when back to home, does not "onRouteChange" need trigger?
from framework7-template-react.
Related Issues (17)
- code splitting? HOT 6
- Compatibility with reactJS native router-dom? HOT 1
- Will HMR (Hot Module Reload) work wit this template? HOT 1
- Support for HMR (hot module reload) HOT 2
- npm start not working HOT 2
- Is there any Framework 7 (v4) + React.js and Webpack? HOT 1
- use with phonegap or standalone? HOT 2
- Tree shaking template?
- Changing URL in browser doesnt work.
- error with cordova HOT 1
- themeType="ios" hardcoded in App.jsx HOT 2
- url is not changing on navigating between the pages HOT 4
- how to detect the device type HOT 4
- Preloader not working HOT 4
- Optional Parameter in Routing HOT 1
- How to set Index Route
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 framework7-template-react.