| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Please sign CLA at http://www.nativescript.org/cla |
Sorry, something went wrong.
|
CLA signature found, happy contributing! |
Sorry, something went wrong.
When loading an image from a remote resource, all the background properties are applied before the imageSource. When assigning borderRadius to an image, then later setting its imageSource would cause the image to be in a bad render state and completely disappear from the UI. I had to make the clone method public on Background. This patch clones the backgroundInternal property after async assignment of the imageSource.
|
@justindujardin I can't reproduce this issue with tns-core-modules@3.2 but I've saw another issue - borderRadius was not applied on Image element. This PR #4963 fix the new issue so I'm closing your PR in flavor of the other. |
Sorry, something went wrong.
|
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. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
When loading an image from a remote resource, all the background properties are applied before the imageSource. When assigning borderRadius to an image, then later setting its imageSource would cause the image to be in a bad render state and completely disappear from the UI.
This patch clones the backgroundInternal property after async assignment of the imageSource, which causes the render state to be corrected.
Fixes #4804
I'm not sure this is the very best fix and am open to suggestions.