uploadForm Button Issue?!

4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 17, 2015   (RSS)

By Perchpole - March 12, 2015

Hello, All -

Further to my earlier post, I noticed there is some debugging code in uploadForm which give the co-ordinates of the "TriggerRegion". When I place my cursor over the visible button, the code reports: inTriggerRegion: false - which is clearly wrong!

I seem to recall from previous experiments that the problem has something to do with the relative or absolute positioning of nested elements in the dom. 



By Perchpole - March 13, 2015

All sorted.

As I suspected, one of the parent <divs> was pushing the real co-ordinates of button down the page. I applied an overflow:hidden rule and everything snapped back into place.


By Dave - March 17, 2015

Hi Perch, 

Thanks for posting and I'm glad you got it sorted out!

I actually wrote all that code but having a quick glance over it I think I'd probably have needed a good cup of coffee to remember what was going on there.  I'm really glad the comments and debugging code I left in there for myself (and you) helped!


Dave Edis - Senior Developer