Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#17187 closed defect (fixed)

Style of Dojox/mobile/Switch is not set correctly when it's hidden

Reported by: Sebastien Pereira Owned by: Patrick Ruzand
Priority: low Milestone: 1.9.1
Component: DojoX Mobile Version: 1.8.4
Keywords: Cc:
Blocked By: Blocking:

Description

This happens on FF and IE but not Chrome.

This issue is caused by pos not being set correctly in the _changeState() defined in dojox/mobile/_compat.js so the sliding knob is not move to the right position.

if(!on){

pos = -this.inner.firstChild.firstChild.offsetWidth; pos is 0 when the switch is not visible

}else{

pos = 0;

}

Change History (5)

comment:1 Changed 7 years ago by Sebastien Pereira

comment:2 Changed 7 years ago by Patrick Ruzand

Milestone: tbd1.9.1
Owner: set to Patrick Ruzand
Priority: undecidedlow
Status: newassigned

comment:3 Changed 7 years ago by Sebastien Pereira

Fixes submitted in pull request dojo/dojox#7

comment:4 Changed 7 years ago by Patrick Ruzand <pruzand@…>

Resolution: fixed
Status: assignedclosed

In 425b53326b715d6fb429a7e6022b233e5f30627b/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:5 Changed 7 years ago by Patrick Ruzand <pruzand@…>

In 4df11f36b1ce1b73d05ca46c82792f37a580038c/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.