framework7-website icon indicating copy to clipboard operation
framework7-website copied to clipboard

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

Open ievgennaida opened this issue 1 year ago • 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

ievgennaida avatar Nov 01 '24 08:11 ievgennaida