[ 
https://issues.apache.org/jira/browse/WEEX-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051292#comment-16051292
 ] 

kfeagle commented on WEEX-42:
-----------------------------

I try to add a view support boxshadow under the given view. but if given view 
change position,the under view cannot change. I am search a better method.
if user want to use box-shadow and border-radius togater. you can add one view 
under the given view


refer:https://stackoverflow.com/questions/4754392/uiview-with-rounded-corners-and-drop-shadow

dsl demo support box-shadow and border-radius:
http://dotwe.org/vue/33f35966f1e5ea8bcbba6f71ca7544c0

effect: 
[boxshadow|https://raw.githubusercontent.com/kfeagle/firstdemo/master/boxshadow.png]



> [iOS]  box-shadow will overlop border-radius 
> ---------------------------------------------
>
>                 Key: WEEX-42
>                 URL: https://issues.apache.org/jira/browse/WEEX-42
>             Project: Weex
>          Issue Type: Bug
>         Environment: iOS
>            Reporter: kfeagle
>
> if dsl set border-radius. the div have border radius. if then set  box-shadow 
> . the border radius will disappear
> how to reproduceļ¼š
> http://dotwe.org/vue/332a2203d9b31fd610ed73f36b3dfcfb
> bug code:
> https://github.com/apache/incubator-weex/blob/0.14-dev/ios/sdk/WeexSDK/Sources/Display/WXComponent%2BBoxShadow.m#L92
> I am solving this problem. if you have any suggestion. please tell me



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to