Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Posts: 64
Registered: ‎09-10-2009
My Device: Z10, Bold 9700
My Carrier: O2 Germany

Highlighting / focus behavior of bbUI image lists on BB10

I've just updated my project to the latest version 0.9.6 of bbUI.js available at https://github.com/blackberry/bbUI.js/.

 

I noticed several UI improvements, but also a change in the behavior of the image-lists on BB10. Until now, an image-list item with onclick set was highlighted in blue when touched by the user. Now, items no longer get highlighted on touch. They only get a blue highlight when a context menu is set and the user long-presses on an item.

 

Is this intended behavior? In Cascades list items also get a blue highlight (around the border) when touched.

----

My Twitter: @hendrik_dev
Highlighted
Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: Highlighting / focus behavior of bbUI image lists on BB10

Sanity check - did you update both bbUI.js and bbUI.css files?  If you missed the latter, it could explain why styling appears to have changed.

 

 

Otherwise, I see this comment in the 0.9.6 Change log (https://github.com/blackberry/bbUI.js/blob/master/CHANGELOG.md):

"Image list selection highlighting on touch and press-and-hold updated to match Cascades"

 

 

Is that consistent with what should/does happen?

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.