Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Lazy rendering paper-submenu #106

Open
NamTThai opened this issue Oct 3, 2016 · 0 comments
Open

Lazy rendering paper-submenu #106

NamTThai opened this issue Oct 3, 2016 · 0 comments

Comments

@NamTThai
Copy link

NamTThai commented Oct 3, 2016

Description

I have a paper-menu with many paper-submenus, depth=3. Imagine a directory with 2 layers of subdirectories. Each menu only has 10-15 submenus, each depth 3 submenu only has 25-50 items. However, the total grows fast. On an instance which I have 16,000 items, the paper-menu takes 10 seconds to render on screen. It is generated by dom-repeat.

Expected outcome

Lazy render :D/? Something similar to what iron-list do, which only render items visible in viewport. The client only need to see items in depth 1 submenu at first. The rest can be rendered gradually.

Actual outcome

The entire menu takes 10 seconds to render on screen

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant