Skip to content

fix(css-android): restore elements' native features if offending css is removed while the app is running - #7789

Merged
manoldonev merged 3 commits into
masterfrom
bundev/fix-removing-border-not-returning-ripple
Oct 4, 2019
Merged

manoldonev merged 3 commits into
masterfrom
bundev/fix-removing-border-not-returning-ripple

Conversation

@bundyo

@bundyo bundyo commented Sep 5, 2019

Copy link
Copy Markdown
Contributor

(e.g. border-width > 0, border-radius > 0, background-image, etc.)

PR Checklist

What is the current behavior?

When the user sets border-width, border-radius or others, the native features of the control are removed, but can't be restored when adding additional CSS later.

What is the new behavior?

The native features are restored by just applying the filter on top of a new drawable.

Fixes/Implements/Closes #7788.

@bundyo bundyo self-assigned this Sep 5, 2019
@cla-bot cla-bot Bot added the cla: yes label Sep 5, 2019
@manoldonev manoldonev changed the title fix(7788): Fix elements in Android not getting back native features if offending CSS is removed while the app is running fix: Fix elements in Android not getting back native features if offending CSS is removed while the app is running Sep 12, 2019
Comment thread tns-core-modules/ui/styling/background.android.ts
@manoldonev manoldonev changed the title fix: Fix elements in Android not getting back native features if offending CSS is removed while the app is running fix(css-android): restore elements' native features if offending css is removed while the app is running Sep 13, 2019
@manoldonev
manoldonev self-requested a review September 13, 2019 14:28
…r CSS disabled them is removed

 (e.g. border-width > 0, border-radius > 0, background-image, etc.)
@bundyo
bundyo force-pushed the bundev/fix-removing-border-not-returning-ripple branch from f4556fc to 797a6ed Compare September 17, 2019 19:08
@manoldonev
manoldonev merged commit 2beae5b into master Oct 4, 2019
@manoldonev
manoldonev deleted the bundev/fix-removing-border-not-returning-ripple branch October 4, 2019 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Buttons not getting ripple back if border-radius is set back to 0 with additional CSS

2 participants