Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Do not push a dummy element with a scroll token for invisible events #718

Merged
merged 1 commit into from
Feb 23, 2017

Conversation

lukebarnard1
Copy link
Contributor

@lukebarnard1 lukebarnard1 commented Feb 21, 2017

If an event does not wantTile, do not add a dummy element with a scroll token, as this can be unperformant with 1000s of events.

This undoes part of #162, which made sure that invisible events could still be scrolled to, but ultimately they're invisible so there's no need to be able to scroll to them.

If an event does not `wantTile`, do not add a dummy element with a scroll token, as this can be unperformant with 1000s of events.
@lukebarnard1
Copy link
Contributor Author

lukebarnard1 commented Feb 22, 2017

I think this needs more testing but I'm sure I notice anything unusual. @dbkr, thoughts?

@dbkr
Copy link
Member

dbkr commented Feb 23, 2017

Seems fairly safe to me: at least, I hope our scrolling is not so fragile that removing empty lis will break it. Agree that scrolling to the place where an event would be shown if it were visible if not really a whole lot of use, and is somewhat confusing.

@dbkr dbkr merged commit fd3c1ab into develop Feb 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants