javascript - Vue sub-route switching has a flickering problem.
给我你的怀抱
给我你的怀抱 2017-05-19 10:42:51
0
1
571

Several sub-routes are set up, that is, the top navigation will switch routes

But when several sub-routes are switched back and forth, there will be flickering.

I found that when switching a route, it will be displayed. The current route displayed will definitely be squeezed out. Then disappear. So there will be flickering.

How to avoid flickering and poor experience.

给我你的怀抱
给我你的怀抱

reply all(1)
大家讲道理

Have you added transition.
Have you added mode='out-in'?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!