Skip to main content

Search and Top Navigation

#15235 new bug ()

Opened September 06, 2017 09:25AM UTC

Last modified November 01, 2018 03:24PM UTC

unable to get property'_focusTabbable'of undefined or null

Reported by: Eduard1970 Owned by: Eduard1970
Priority: minor Milestone: none
Component: ui.core Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:
Description

Sometimes throws Error unable to set property'_focusTabbable'of undefined or null at jquery.ui.js line 9544:

this._trackingInstances()[ 0 ]._focusTabbable();

because _trackingInstances returns an empty array.

My solution: to check this._trackingInstances() length before.

Attachments (0)
Change History (4)

Changed September 06, 2017 07:09PM UTC by rjollos comment:1

description: Sometimes throws Error 'unable to set property'_focusTabbable'of undefined or null' \ at jquery.ui.js line 9544: \ this._trackingInstances()[ 0 ]._focusTabbable(); \ because _trackingInstances returns an empty array. \ \ My solution: to check this._trackingInstances()length before. \ Sometimes throws Error `unable to set property'_focusTabbable'of undefined or null` at `jquery.ui.js` line 9544: \ {{{#!js \ this._trackingInstances()[ 0 ]._focusTabbable(); \ }}} \ \ because `_trackingInstances` returns an empty array. \ \ My solution: to check `this._trackingInstances()` length before. \

Changed October 25, 2018 01:39PM UTC by scottgonzalez comment:2

Please provide a reduced test case with instructions on how to reproduce the issue.

Changed October 25, 2018 04:09PM UTC by scottgonzalez comment:3

owner: → Eduard1970

Changed November 01, 2018 03:24PM UTC by rjollos comment:4

description: Sometimes throws Error `unable to set property'_focusTabbable'of undefined or null` at `jquery.ui.js` line 9544: \ {{{#!js \ this._trackingInstances()[ 0 ]._focusTabbable(); \ }}} \ \ because `_trackingInstances` returns an empty array. \ \ My solution: to check `this._trackingInstances()` length before. \ Sometimes throws `Error unable to set property'_focusTabbable'of undefined or null` at `jquery.ui.js` line 9544: \ {{{#!js \ this._trackingInstances()[ 0 ]._focusTabbable(); \ }}} \ \ because `_trackingInstances` returns an empty array. \ \ My solution: to check `this._trackingInstances()` length before. \