adopted-ember-addons / adopted-ember-addons/ember-light-table

ELT "hidden" in Bootstrap Modal continuously hit "onScrolledToBottom"

オープン
#501 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
311
フォーク
130
PR マージ指標
30日以内にマージされた PR はありません

説明

I replicated this issue by

1. A console.log statement inside my "onScrolledToBottom" method
2. Placed an instance of my table in my template as normal and ran it.
Console logged that onScrolledToBottom only occurred once (unless I went and actually scrolled down)
3. Placed an exact same instance of my table in the template but "hidden" inside a bootstrap modal (not even opening the modal yet)
Console logged that onScrolledToBottom fired continuously (one can see the network tab, as soon it got a result from the API, it made another call also, with "page" incremented)

I do need the modal (client's requirement) and do need to use my ELT instance (heavily used all over the app, need to keep the consistent look/feel/functionality) and the data is just too much to load all at once.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。