Commit graph

66 commits

Author SHA1 Message Date
Nolan Lawson 5f5cb0d36d
fix(scroll): fix offsetHeight for scrolling whole document (#664) 2018-11-20 08:58:13 -08:00
Nolan Lawson b7f5d04b4c
fix(scrolling): use body as scrolling container (#656)
* fix(scrolling): use body as scrolling container

Fixes #526

* fixup tests and focus
2018-11-17 18:06:49 -08:00
Nolan Lawson 92d2dbddfc
perf(virtuallist): add contain:content to virtual list items (#650)
* perf(virtuallist): add contain:content to virtual list items

* add a few more contain:contents
2018-11-16 00:37:28 -08:00
greenkeeper[bot] 8dbc1b0503 Update standard to the latest version 🚀 (#519)
* chore(package): update standard to version 12.0.0

* package lock update

* fix eslint
2018-08-29 21:42:57 -07:00
Nolan Lawson 65ac7e22f4
fix null error in VirtualListFooter.html (#456) 2018-08-21 07:06:53 -07:00
Nolan Lawson 6ad20e72a7
don't use rIC while scrolling (#455)
* don't use rIC while scrolling

* remove unnecessary import
2018-08-20 17:57:38 -07:00
Nolan Lawson a0d3a89180
remove useless aria-hidden (#386) 2018-06-10 19:49:39 -07:00
Nolan Lawson fa4dd59f01
wrap code in dev block (#286) 2018-05-12 14:01:25 -07:00
Nolan Lawson a88fb70542
remove unnecessary sveltejs/svelte#1354 workarounds (#269) 2018-05-04 20:09:20 -07:00
Nolan Lawson b1a3be06ff
fix null in virtual list item (#260) 2018-05-03 20:41:55 -07:00
Nolan Lawson 42be854521
upgrade to svelte 2.0 (#251)
* upgrade to svelte 2.0

* update svelte-loader to 2.9.0
2018-05-01 17:05:36 -07:00
Nolan Lawson 814716cc8d
remove deprecated observe() from stores, take 2 (#249) 2018-04-30 17:20:20 -07:00
Nolan Lawson f9792ae3d8
remove deprecated .observe() from components (#246) 2018-04-30 08:29:04 -07:00
Nolan Lawson c309e5842d
slightly improve Svelte 2.0 compatibility (#244)
* slightly improve Svelte 2.0 compatibility

* fixup

* fix lint
2018-04-29 22:13:41 -07:00
Nolan Lawson 8229d1c9e6
use svelte shorthand wherever possible (#242) 2018-04-29 18:42:03 -07:00
Nolan Lawson 9629a55a9f
remove all instances of string coercion (#240) 2018-04-29 17:45:03 -07:00
Nolan Lawson 40a9ff957a
fix null error in virtual list items (#239) 2018-04-29 17:33:58 -07:00
Nolan Lawson 75b4d09b64 remove AsyncLayout in favor of rAf + gBCR 2018-04-27 18:16:57 -07:00
Nolan Lawson bfc3c46462
use standard to lint HTML too (#186) 2018-04-19 21:38:01 -07:00
Nolan Lawson 8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
Nolan Lawson b8d862618a
Use display:none for virtual list header (#96)
Fixes #59 by using display:none instead of opacity/pointer-events tricks while still showing an animation
2018-04-12 21:17:57 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson ef5b922e77 add basic handling for window resize 2018-03-31 17:42:52 -07:00
Nolan Lawson 3b8f551477 implement better timeline navigations with fades 2018-03-29 23:16:53 -07:00
Nolan Lawson c67ba5c0a9 spoiler button is faster now 2018-03-23 08:29:54 -07:00
Nolan Lawson 3b03bd0e8d tweak when to use requestIdleCallback 2018-03-22 22:53:50 -07:00
Nolan Lawson 0dc676b1c5 tweak render buffer 2018-03-22 22:31:29 -07:00
Nolan Lawson ef51842e6a calculate listOffset to avoid profile offset issue 2018-03-22 17:33:42 -07:00
Nolan Lawson 98b8ea1c67 increase the render factor until I can figure out how to fix the list offsets 2018-03-22 09:39:46 -07:00
Nolan Lawson d2834d3bb2 dial back rIC usage, fix virtualListStore calculations 2018-03-22 00:01:19 -07:00
Nolan Lawson 0c9992c0e1 change scheduling to focus on requestIdleCallback 2018-03-20 20:28:53 -07:00
Nolan Lawson 9c6b8a7a8e Revert "use rIC to keep scrolling smooth"
This reverts commit fc8554bed3.
2018-03-15 10:25:02 -07:00
Nolan Lawson fc8554bed3 use rIC to keep scrolling smooth 2018-03-15 10:00:51 -07:00
Nolan Lawson 8bd3cf24e3 reduce viewport render factor for better scrolling perf 2018-03-14 23:03:37 -07:00
Nolan Lawson c11f2454ad break up status rendering with rAF a bit 2018-03-14 19:04:48 -07:00
Nolan Lawson 2db30856f9 fix bug where large items might not be rendered when scrolling up 2018-03-14 18:38:26 -07:00
Nolan Lawson 73861c4749 make virtual list more effecient using "reselect" 2018-03-04 13:37:55 -08:00
Nolan Lawson 71d0e4ddd1 fix items rendered on top of other items 2018-03-01 09:19:45 -08:00
Nolan Lawson e65087e8d1 more perf improvements 2018-02-25 22:50:50 -08:00
Nolan Lawson 62d7166b39 code cleanup 2018-02-25 11:20:40 -08:00
Nolan Lawson 3f5f016c32 clean up observers 2018-02-25 10:50:04 -08:00
Nolan Lawson ae04fddd68 add NPE check for makeProps 2018-02-23 17:54:16 -08:00
Nolan Lawson f4eeacdc1c basic timeline test 2018-02-18 15:28:42 -08:00
Nolan Lawson d45e8da5c4 reduce viewport render factor in virtual list 2018-02-13 19:43:06 -08:00
Nolan Lawson 93635fee6a refactor virtual list 2018-02-13 09:15:10 -08:00
Nolan Lawson faff6c4427 add todos 2018-02-12 22:49:02 -08:00
Nolan Lawson 9a042c5981 fix virtual list realm 2018-02-12 22:47:25 -08:00
Nolan Lawson 2db4236761 more refactoring 2018-02-12 22:35:02 -08:00
Nolan Lawson acc1ce396d refactor VirtualList to be more self-contained 2018-02-12 22:35:01 -08:00