Вопрос

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