A shadow is displayed when clicking a row in a segment

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hello.

I put a flex container in the segment.

I set the Clip Bounds off and put a shadow.

I checked the operation with iOS.

When you select a row in a segment, the shadow portion is displayed.

How can I keep the state as it is, even if I select it?

I attach an image, so please look.

Hi,

If your skin has a shadow enabled then the record should display the shadow effect. If your segment rowSkin doesn't have the shadow effect and on rowFocusSkin you have shadow effect then, once you select a record get the selectedRowIndex and change the skin of the selected record using setDataAt() method.

Hi, @Twvcey Rvndvll

Thank you for your reply.

What I want to know is how to make it so that Skin does not turn black (leave it white).

Even if I set it to be white with Focus, even if I set it to be white with Row-Focus, the color of the shadow will be reflected when I select it.

I attach 2 images, so please check.

Hello,

As per the first attached screenshot, you have used the shadow effect in the skin, you have set the Dist X/Y and Blur values. Can you please make it 0 and check the behavior. Still if you are observing the shadow effect then make the Row-Focus Enable false(unchecked).

Hi, @Twvcey Rvndvll,

Thank you for your reply.

I want to keep shadow effect on.

I want to prevent the frame from becoming a shadow color when clicked.

(Do not permeate the frame even if I click it.)

I confirmed the URL below and it is stated that the shadow does not apply to the widget.

If I put a shadow, is it that the frame is transparent when clicking on it?

URL:​

http://docs.kony.com/konylibrary/visualizer/viz_widget_prog_guide/Content/Appendix.htm

Also, when two flex containers are stacked, it seems that the upper flex container is transmitted and the lower flex container is reflected.

I solved it here.

Thank you for following up with us in various ways.

It seemed to be caused by inserting action directly into the segment.

I inserted an action into the flex container in the segment of the template and it was not passed through.

Thanks for sharing the workaround @Divne Chvpmvn​