Open endarova opened 5 years ago
Additionally, on some occasions. the applied value for background-color
can't be removed via a change in HMR (the app must be restarted). For example:
.text-primary
class)padding
and change the background-color
to another value. The red color will stay active on some elements until the app is restarted no matter how many times you change it.In regards to the scenario described by @endarova:
RadListView
which does not handle а change of paddingListView
which does not reproduce the issue
Environment ✔ Component nativescript has 6.1.2 version and is up to date. ✔ Component tns-core-modules has 6.1.2 version and is up to date. ✔ Component tns-android has 6.1.2 version and is up to date. ✔ Component tns-ios has 6.1.1 version and is up to date.
Describe the bug After change of padding in .scss file changes in styles in that file stop refreshing on device. You have to restart the app or redeploy to see the changes.
To Reproduce
tns create issue_7966 --template tns-template-master-detail
tns run ios
_cars-list-common.scss
changebackground-color:
tored
. Save the file, the change is applied on device_cars-list-common.scss
changepadding
. Save the file, the change is not applied on device. Try change other styles in that file. Nothing is applied anymore. You have to restart the app to see the changes.Expected behavior all changes in .scss file should be applied on device