Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-17-2012 04:00 PM
I have a fixed-position "back" button in my app that is not firing when the screen is scrolled down.
Here's the button code:
<button id='buttonBack' style='position:fixed; right:5px'>Back</button><br>
When I scroll the screen back to the top, the button fires without a problem. However, if the screen is scrolled down at all, the button click event does not fire.
I traced events in Web Inspector and an click event does fire when I click on the button. However, it doesn't actually fire the method I have bound to the button's click event. Again, if I scroll the screen back to the top, the button click fires fine.
I should note that the button is displayed correctly at all times. It stays in a fixed position 5px from the right side of the screen, even when the window is scrolled down. So the button is visible at all times. It's just that when I scroll down nothing happens if I click the button.
It seems like a bug with WebWorks. Can anybody confirm?
Solved! Go to Solution.
04-17-2012 04:51 PM
04-18-2012 01:25 PM
Thanks for the suggestion ignites.
I found that this was caused by my own bug. It was a z-index problem. I increased the z-index of the button and it solved the problem. The button must have been conflicting with elements further down the page, but was fine at the top of the page.