Opened 5 years ago

Closed 3 years ago

#17658 closed defect (patchwelcome)

dojox/mobile/IconItem - declarative style - lot of bugs

Reported by: dojonovice@… Owned by: Damien Mandrioli
Priority: low Milestone: 1.13
Component: DojoX Mobile Version: 1.9.2
Keywords: Cc:
Blocked By: Blocking:

Description

When I use dojox/mobile/IconItem without data-dojo-props="url : 'fragment.html'" I have following issues.

  1. If I use lazy:true I get parser error. I tried set sync : false and requires with widget modul but the result is still same.
  1. Home button doesn't work. Can not display previous screen.
  1. If I have heading with fixed bottom, fixed position is ignored.

Summary:

This works fine:

<li data-dojo-type="dojox/mobile/IconItem" data-dojo-props="url : 'view-1.html'"></li>

This not:

<li data-dojo-type="dojox/mobile/IconItem">

<!-- any widget --> <div data-dojo-type="dojox/mobile/RoundRect" data-dojo-props="shadow : true"> Test </div>

</li>

This is wrapper:

<ul data-dojo-type="dojox/mobile/IconContainer"

data-dojo-props="transition : 'slide', single: true">

Change History (6)

comment:1 Changed 5 years ago by Patrick Ruzand

Please could you provide a testcase or a jsfiddle that reproduces the issue ? Also, please always give information about the platform, the os version, and the device as it could be specific to some configurations.

comment:2 Changed 5 years ago by dojonovice@…

OS Windows 8, desktop PC, testcase post later

comment:3 Changed 5 years ago by Patrick Ruzand

Please could you attached a testcase ?

comment:4 Changed 5 years ago by dojonovice@…

e.g.

try this sample

http://dojotoolkit.org/reference-guide/1.9/dojox/mobile/IconContainer.html#id5

<ul data-dojo-type="dojox/mobile/IconContainer"

data-dojo-props='transition:"below", iconBase:"images/icon-1.png"'>

<li data-dojo-type="dojox/mobile/IconItem" data-dojo-props='label:"Color Palette", lazy:true'>

<div data-dojo-type='dijit/ColorPalette'></div>

</li> <li data-dojo-type="dojox/mobile/IconItem" data-dojo-props='label:"Progress Bar", lazy:true'>

<div data-dojo-type='dijit/ProgressBar'></div>

</li>

</ul>

palette is not displayed correctly.

comment:5 Changed 5 years ago by cjolif

Owner: set to Damien Mandrioli
Priority: undecidedlow
Status: newassigned

comment:6 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in more than a year, I'm closing this as patchwelcome. Please let us know if you would like to get involved in helping make this change to Dojo!

Note: See TracTickets for help on using tickets.