Aakansha Doshi c19c8ecd27
feat: Add scroll listener to the nearest scrollable container and allow consumer to disable it (#3408)
* fix: Add scroll listener to the nearest scrollable container

* fix

* use loop instead of recursion

* fix

* return document

* calculate nearest scrollable container in settimeout to unblock main thread

* Add prop detectNearestScroll and clear timeout on unmount

* disable scroll listener on excal app

* update prop name to detectScroll

* update docs

* remove settimeout

* tweak docs

Co-authored-by: David Luzar <luzar.david@gmail.com>

* tweak changelog

Co-authored-by: David Luzar <luzar.david@gmail.com>

* lint

Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-04-09 20:44:54 +05:30
..
2021-04-05 17:26:37 +02:00
2020-11-06 21:06:39 +01:00
2020-11-06 21:06:30 +01:00
2020-11-06 21:06:39 +01:00
2020-11-06 21:06:39 +01:00
2020-11-06 21:06:39 +01:00
2020-11-06 21:06:39 +01:00
2020-11-06 21:06:39 +01:00
2021-03-17 14:43:58 +01:00
2020-04-16 14:23:39 +02:00
2020-01-02 11:03:48 -08:00
2020-02-11 23:19:43 +01:00
2021-01-05 19:06:14 +01:00