-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Call native setters once when a page is instantiated #4227
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
Conversation
bf5742e
to
c5ea8a1
Compare
7b0a9cc
to
b09a049
Compare
aae5da9
to
30b3815
Compare
30b3815
to
1da79fc
Compare
@@ -36,7 +36,7 @@ export class Slider extends SliderBase { | |||
|
|||
constructor() { | |||
super(); | |||
this.nativeView = this._ios = UISlider.new(); | |||
this.setNativeView(this._ios = UISlider.new()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be this.nativeView = ...
@@ -83,4 +83,7 @@ export class Switch extends SwitchBase { | |||
[backgroundInternalProperty.setNative](value: any) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will be hard for developers to not apply backgroundColor
1da79fc
to
4eef759
Compare
run uitests |
Call native setters once when a page is instantiated. Fix background not being reset, Label's background is now set to background, not layer Make the nativeView field instead of property for performance reasons
4eef759
to
1f521f3
Compare
run uitests |
1 similar comment
run uitests |
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. |
No description provided.