blackberry / bbUI.js

BlackBerry UI look and feel JavaScript toolkit for WebWorks
Apache License 2.0
312 stars 192 forks source link

Image List Highlight doesn't clear when dismissing Context Menu #1043

Open RyanGermann opened 8 years ago

RyanGermann commented 8 years ago

I am using an Image List with Context Menu in my app.

When I long-press on the Image List entry, the Image List entry is highlighted with a background colour and overlay border (by changing the "class" attribute and the "visibility" style property, respectively).

In other BB10 apps, when the Context Menu is dismissed, the highlight on the Image List item is cleared.

In bbui.js, when I touch outside the Context Menu area, the Context Menu slides off the screen to the right, but the Image List item is still highlighted.

Note that to each Image List item div, I add an id attribute value when they are generated: could that be interfering with normal "When context menu is dismissed Image List item highlight is cleared" behaviour?