Bug? Imageview PNG click

Douglas Farias

Expert
Licensed User
Longtime User
Hi, today i find a strange bug, i have put a imageview with a simple icon png, search icon.
and i have put the click at this imageview, but the click event works only on the not invisible part.

dont work if i click on transparent part.
i need to click on the white part of icon



if i click on white part of icon works the click event.
transparent like center of icon dont work.

i m uploaded the icon here
 

Daestrum

Expert
Licensed User
Longtime User
The same thing happens on a text node if it has transparent background.
If you add a onMouseEntered event, it only triggers when it's over the non-transparent area ie, the actual letters of the text, not the gaps between letters or even the centre of an 'O'.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…