Conversation
There was a problem hiding this comment.
@m1ga I tested the PR and it does not work as intended. It does not allow to change property once set. Also it does not work if we remove the clipMode from the root yellow view despite that the red view has it clipMode: disabled already.
Correct. Check the readme notes |
|
Ok, I didn't check the readme notes, but rather compared this property with iOS where it properly works as expected. I believe we should do more testing around it as Android has a pretty different behaviour to both these properties. And yes, it requires to be on top-level view, which actually we can set ourselves in SDK. I suggest that we introduce the |
very good idea! Yeah, I'll do some more testing and adjust the code but thanks for the check and the feedback 👍 |

Based on https://github.com/mbender74/clipview/tree/main/ti.clipview
Top: this PR with clipping disabled

bottom: default behavior
Run the code and click the first view to toggle:
Ti.UI.CLIP_MODE_DISABLEDandTi.UI.iOS.CLIP_MODE_DISABLEDfor backwards compatibility