Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#8535 closed bug (notabug)

Focus on IE9

Reported by: dan.nicoara Owned by: dan.nicoara
Priority: minor Milestone: 1.9.0
Component: ui.selectable Version:
Keywords: Cc:
Blocked by: Blocking:

Description

I have a bug on IE9.

The item that it is clicked will be focused. And IE9 will shift the hole page.

The code that does this thing is the following :

_mouseSelect: function(event, item) {

if(this._trigger('beforeselect', event) === false)

return true;

this._select(event, item); this.element[0].focus(); event.preventDefault();

},

This is the line that produces this bug. For IE9 this should be omited. Maybe put a new option isFocusable.

Change History (5)

comment:1 Changed 7 years ago by Scott González

Owner: set to dan.nicoara
Status: newpending

Please provide a reduced test case showing the problem. Also, it's important to know the version that you're encountering the problem with, I'm not sure why you set it to blank.

comment:2 Changed 7 years ago by dan.nicoara

Status: pendingnew

One test case is the following :

Resize the browser so that the elements that the selectable is applied on then are hidden by the browser's border. Click one of the elements and the view is shifted so that the html element is entierly seen.

The version filed is empty becase I didn't know what version is this. Bellow is a link to the version of selectable that I use.

http://jquery-ui.googlecode.com/svn/branches/labs/selectable/ui/jquery.ui.selectable.js

Thank you for the fast replay.

comment:3 Changed 7 years ago by Scott González

Resolution: invalid
Status: newclosed

That's super old and not stable; notice that it's in a labs branch.

comment:4 Changed 7 years ago by dan.nicoara

Hi,

The project that I work on uses this plugin (http://jquery-ui.googlecode.com/svn/branches/labs/selectable/ui/jquery.ui.selectable.js) and I need this modification in it, because it is a but on IE9. Could you make the changes and updated this lab branch ?

Thank you !

comment:5 Changed 7 years ago by Scott González

No. This was never released and is not supported.

Note: See TracTickets for help on using tickets.