You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inform size dynamically using _dataSource callback second parameter
What happens:
_dataSource is called twice = request duplication
Filling issue:
-> _dataSource callback is called
-> size updated
-> _sizeChanged is triggered
-> (size > oldSize) is true because oldSize = 0
-> refreshPage is called
Problem:
data should not be refreshed when oldSize = 0
To reproduce:
size
dynamically using _dataSource callback second parameterWhat happens:
_dataSource is called twice = request duplication
Filling issue:
-> _dataSource callback is called
-> size updated
-> _sizeChanged is triggered
-> (size > oldSize) is true because oldSize = 0
-> refreshPage is called
Problem:
data should not be refreshed when oldSize = 0
I propose to change https://github.com/Saulis/iron-data-table/blob/master/iron-data-table.html#L881
with
nice element!
The text was updated successfully, but these errors were encountered: