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?

有帮助吗?

解决方案

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...?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top