Opened 8 years ago

Closed 8 years ago

#13066 closed defect (fixed)

IconItem does not gray out when it is pressed on some browsers

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.1
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

This is because IconItem#setOpacity is not effective on some browsers.

Change History (3)

comment:1 Changed 8 years ago by ykami

Thanks to the fix #12511, dependency on dojo.query has been removed from dojo._setOpacity. So we no longer need to have our own setOpacity, instead we can use dojo.setStyle(node, "opacity", val), which has better cross-browser support.

comment:2 Changed 8 years ago by ykami

"dojo.style" of course.

comment:3 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

(In [25181]) Fixes #13066 !strict Removed setOpacity() method and used dojo.style(node, "opacity", val) instead.

Note: See TracTickets for help on using tickets.