Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#10622 closed defect (fixed)

Slider: titles for increment and increment buttons not displaying (FF)

Reported by: Pankaj Wadhwa Owned by: Douglas Hays
Priority: high Milestone: 1.5
Component: Dijit - Form Version: 1.4.0
Keywords: Slider Cc:
Blocked By: Blocking:

Description (last modified by bill)

We have recently upgraded fron dojo1.1 to dojo 1.4 We have used the slider control in our own control with some custom title on slider increment and decrement buttons e.g. shown below so that it displays tooltip on mouseover.

    slider.incrementButton.title = "Increment";
    slider.decrementButton.title = "Decrement";

But it is not working in DOJO 1.4 (it was working in DOJO 1.1 though).

I am attaching a sample application with the ticket.

Attachments (1)

test.html (982 bytes) - added by Pankaj Wadhwa 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Pankaj Wadhwa

Attachment: test.html added

comment:1 Changed 12 years ago by bill

Description: modified (diff)
Owner: set to Douglas Hays
severity: majorminor
Summary: Titles for increment and increment buttons for Slider not displayingSlider: titles for increment and increment buttons not displaying (FF)

Thanks for attaching the test case.

Actually it's working fine except for FF, but unfortunately it's failing on FF even in FF 3.7 alpha. I confirm that it works in dojo 1.1 but not in dojo 1.3, yet I can't see what the difference is. The slider template doesn't seem to have changed; it's a <div> with tabIndex=-1 that the title is applied to.

Doug, any ideas? Looks like we probably want to file a bug against mozilla but we need to come up w/a standalone test case.

comment:2 Changed 12 years ago by Pankaj Wadhwa

Ah, Yes I forgot to mention that its not working on FF only.

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [21247]) Fixes #10622. Change typematic's stopEvent on mousemove event to preventDefault so that Firefox sees the mouse event needed to display the native tooltip using the title attribute.

comment:4 Changed 12 years ago by bill

Milestone: tbd1.5

comment:5 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.