Question

I create my project with ons-sliding-menu of Onsen UI. When I click a menu item in behind-page, above-page slide in, but still show the previous content for one second (very short time, but you will notice that).

Can I erase previous page content before above-page slide in?

Était-ce utile?

La solution

When you set the above page to new content, first the browser needs sometime to fetch and render the new content, resulting in some delay.

On modern device and browser, this happens so fast that you don't notice it. But in older devices, you may notice the delay.

Could you provide your device info eg. OS version, browser...?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top