Opened 6 years ago

Closed 4 years ago

#17240 closed defect (worksforme)

Button onClick is not working if button has position:fixed

Reported by: bgbraga Owned by: Patrick Ruzand
Priority: undecided Milestone: tbd
Component: DojoX Mobile Version: 1.9.0
Keywords: Cc:
Blocked By: Blocking:

Description

Hi,

Using Android 4.1.1 and Dojo 1.8.3 I was having problem with onClick events on a ListItem?. So I updated to 1.9 and it's fixed. Maybe because ticket #15878.

Now I found another problem with onClick. If I add a style position:fixed in my button it continue working in a desktop browser but it's not working in Android.

CSS + Button to reproduce:

.bottomArea {

position:fixed; width:100%; height:30px; bottom:0px;

}

<button data-dojo-type="dojox/mobile/Button" onClick="alert('clicked');" class="bottomArea">Button</button>

Change History (3)

comment:1 Changed 6 years ago by bill

Component: GeneralDojoX Mobile
Owner: set to Patrick Ruzand

comment:2 Changed 6 years ago by Patrick Ruzand

Please attach a minimal reproducible testcase. Also, give more details about the device and os version. (still Android 4.1.1 for this issue ?)

comment:3 Changed 4 years ago by Patrick Ruzand

Resolution: worksforme
Status: newclosed

tested on 4.1.2 and 4.2, works as expected.

Note: See TracTickets for help on using tickets.