framework7io/framework7-website

[Documentation] Wrong description of the scrollableParentEl for the virtual lists.

Opened this issue · 0 comments

Documentation is mentioning property scrollableParentEl to accept HTMLElement but passing element does not work while code of virtual list is clearly expecting array.

Possible doc update:

  1. Array is expected, getElementsByClassName does not work because it's not properly taken by dom svelte helper (version 8.3.3).
  2. String is also not explicitly mentioned that it;s css selector, not just id or class name.

https://framework7.io/docs/virtual-list#param-scrollableParentEl
scrollableParentEl

See scrollableParentEl HTMLElement
, string