-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove scrollbar test element - clear viewElement{width,height} before reading them back on the `update` method.
- Loading branch information
1 parent
9d4a1fe
commit 3b5674c
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@noeldelgado Could you help me understand why this is required? I could understand it if you wanted to set the inner div back to its natural size before reading
this.element.offsetWidth
- but given that the entire point here is thatthis.element
is not free to resize withthis._viewElement
, I'm struggling to see how one could affect the other.