Touch on transparent points of custom keyboard extension are ignored

Inside a custom keyboard extension, I'm experiencing the following problem: touches on transparent points are completely ignored.
As per documentation of the hitTest method, a view is ignored if its alpha is less than 0.01. However, in my case the view alpha is 1, it's just that its background color is set to clear.

In my specific case I have a simple collection (similar to the emoji collection of the iOS keyboard) and if I tap/drag putting my finger on top of cells it all works well. However, if I drag from an empty space of the collection the touch is completely ignored. A simple workaround I adopted for now is to set the backgroundColor to white with a very low alpha. With this simple change the touch is recognized.

In the end, it's like in the custom keyboard extension a touch on a transparent point is completely ignored, even if the touch falls into a view which alpha is not 0.

Do you have any suggestions on why it's behaving like that?

Touch on transparent points of custom keyboard extension are ignored
 
 
Q