Skip to content

fix-next: correct raising of layoutChanged event - #6457

Merged
MartoYankov merged 3 commits into
masterfrom
tgpetrov/set-frame-check
Oct 26, 2018
Merged

fix-next: correct raising of layoutChanged event#6457
MartoYankov merged 3 commits into
masterfrom
tgpetrov/set-frame-check

Conversation

@tgpetrov

@tgpetrov tgpetrov commented Oct 25, 2018

Copy link
Copy Markdown
Contributor

PR Checklist

What is the current behavior?

Currently the layoutChanged event can be raised even when there is no change due to safe area calculations.

What is the new behavior?

The check if the frame is actually changed is performed before the safe area transformations are applied.

Fixes/Implements/Closes #[Issue Number].

Currently the layoutChanged event can be raised even when there is no change due to safe area calculations.
@tgpetrov
tgpetrov requested a review from MartoYankov October 25, 2018 14:39
@ghost ghost assigned tgpetrov Oct 25, 2018
@ghost ghost added the in progress label Oct 25, 2018
@ns-bot

ns-bot commented Oct 25, 2018

Copy link
Copy Markdown

Please sign CLA at http://www.nativescript.org/cla

@ns-bot ns-bot added the cla: no label Oct 25, 2018
@ns-bot

ns-bot commented Oct 26, 2018

Copy link
Copy Markdown

CLA signature found, happy contributing!

@ns-bot ns-bot added cla: yes and removed cla: no labels Oct 26, 2018
@ghost ghost assigned SvetoslavTsenov Oct 26, 2018
@MartoYankov
MartoYankov merged commit f5cca13 into master Oct 26, 2018
@MartoYankov
MartoYankov deleted the tgpetrov/set-frame-check branch October 26, 2018 14:03
@ghost ghost removed the in progress label Oct 26, 2018
dtopuzov pushed a commit that referenced this pull request Oct 29, 2018
Currently the layoutChanged event can be raised even when there is no change due to safe area calculations.
@lock

lock Bot commented Oct 26, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked and limited conversation to collaborators Oct 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants