framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
17.97k stars 3.24k forks source link

Bug:The transparent Navbar #4230

Open imdonwang opened 7 months ago

imdonwang commented 7 months ago

Describe the bug

The attachment contains a sample project created using the Framework7 CLI. In the home.jsx file, I set the Navbar to transparent. Then, back in the app.jsx file, I use useState to create a variable and use useEffect to assign different values to this variable. At this point, the Navbar does not function properly; it overlaps with the content. If I set the same values, there is no impact.

Additional context

The code.zip file in the attachment is an engineering file, which includes both bugs and two screenshots of the expected files.

bug expect

code.zip