Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrote debouncing of onResize #11899

Merged
merged 2 commits into from
Feb 27, 2020
Merged

Rewrote debouncing of onResize #11899

merged 2 commits into from
Feb 27, 2020

Conversation

TatuLund
Copy link
Contributor

@TatuLund TatuLund commented Feb 24, 2020

Fixes #11892


This change is Reviewable

Copy link
Member

@OlliTietavainenVaadin OlliTietavainenVaadin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @TatuLund)


client/src/main/java/com/vaadin/client/widgets/Grid.java, line 4370 at r1 (raw file):

    private boolean resizeRequested = false;
    private boolean resizeRerfreshScheduled = false;

typo, rename to "resizeRefreshSchaduled"

Copy link
Contributor Author

@TatuLund TatuLund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @OlliTietavainenVaadin)


client/src/main/java/com/vaadin/client/widgets/Grid.java, line 4370 at r1 (raw file):

Previously, OlliTietavainenVaadin (Olli Tietäväinen) wrote…

typo, rename to "resizeRefreshSchaduled"

Done.

Copy link
Member

@OlliTietavainenVaadin OlliTietavainenVaadin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @OlliTietavainenVaadin)

Copy link
Member

@OlliTietavainenVaadin OlliTietavainenVaadin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@TatuLund TatuLund merged commit 3df3420 into master Feb 27, 2020
ZheSun88 pushed a commit that referenced this pull request Mar 2, 2020
* Rewrote debouncing of onResize 

Fixes #11892

* Fixing typo in variable name
TatuLund added a commit that referenced this pull request Mar 2, 2020
* Removing code causing the  trouble (#11898)

* Removing code causing the  trouble

Removing code that was apparently not needed in previous fix and caused regression 

Fixes: #11895

* Added feature to test UI

* Added test case

* Adding missing import

* Fixing test UI

* Enable DateField

* Rewrote debouncing of onResize (#11899)

* Rewrote debouncing of onResize 

Fixes #11892

* Fixing typo in variable name

* Adding missing setPopupPosition(left, top); (#11902)

* Adding missing setPopupPosition(left, top);

setPopupPosition(left, top); needs to be called in order to top position to be set

Fixes #11894

Co-authored-by: Tatu Lund <tatu@vaadin.com>
@ZheSun88 ZheSun88 added this to the 8.10.2 milestone Mar 3, 2020
Ansku added a commit to Ansku/framework that referenced this pull request Jul 8, 2020
Ansku added a commit to Ansku/framework that referenced this pull request Jul 8, 2020
Ansku added a commit to Ansku/framework that referenced this pull request Jul 9, 2020
Ansku added a commit that referenced this pull request Jul 9, 2020
Ansku added a commit that referenced this pull request Jul 14, 2020
@Ansku Ansku deleted the fix11892 branch October 7, 2020 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grid renderes with gap between rows
3 participants