Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Click event in a view with top 0 doesn't work in all the view

$
0
0

Hi Guys, Ian developing an app,I have a view with top 0, but the click event doesn't work in the first pixels,

with this simple sample you guys can check by your selfs

        var win = Ti.UI.createWindow({
                    backgroundColor : 'white'
        });

        var view  = Ti.UI.createView({
                  top:0,
                  height:100,
                  width:100,
                  backgroundColor:'yellow'
        });
         win.add(view);

           view.addEventListener('click',function(e){
           Ti.API.info('it works');
           });
                   win.open();

please if you have an idea what is going on, please help I will very grateful. Thanks in advance Warm Regards, Norman


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>