You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When quickly selecting items in Picklist (e.g. with Selenium or manually by quickly selecting with 'SPACE/CLICK/SPACE/CLICK/SPACE') a javascript exception occurs:
core.js.xhtml?ln=primefaces&v=6.2.9:480 Uncaught TypeError: Cannot read property 'length' of null
at Object.scrollInView (core.js.xhtml?ln=primefaces&v=6.2.9:480)
at components.js.xhtml?ln=primefaces&v=6.2.9:16832
scrollInView @ core.js.xhtml?ln=primefaces&v=6.2.9:480
(anonymous) @ components.js.xhtml?ln=primefaces&v=6.2.9:16832
setTimeout (async)
(anonymous) @ components.js.xhtml?ln=primefaces&v=6.2.9:16831
dispatch @ jquery.js.xhtml?ln=primefaces&v=6.2.9:3
q.handle @ jquery.js.xhtml?ln=primefaces&v=6.2.9:3
trigger @ jquery.js.xhtml?ln=primefaces&v=6.2.9:4
simulate @ jquery.js.xhtml?ln=primefaces&v=6.2.9:4
c @ jquery.js.xhtml?ln=primefaces&v=6.2.9:4
1) Environment
PrimeFaces version: 6.2.9
Version 6.1.x worked
Affected browsers:
Chrome/Firefox
2) Expected behavior
No Javascript errors
...
3) Actual behavior
When quickly selecting items in Picklist (e.g. with Selenium or manually by quickly selecting with 'SPACE/CLICK/SPACE/CLICK/SPACE') a javascript exception occurs:
core.js.xhtml?ln=primefaces&v=6.2.9:480 Uncaught TypeError: Cannot read property 'length' of null
at Object.scrollInView (core.js.xhtml?ln=primefaces&v=6.2.9:480)
at components.js.xhtml?ln=primefaces&v=6.2.9:16832
scrollInView @ core.js.xhtml?ln=primefaces&v=6.2.9:480
(anonymous) @ components.js.xhtml?ln=primefaces&v=6.2.9:16832
setTimeout (async)
(anonymous) @ components.js.xhtml?ln=primefaces&v=6.2.9:16831
dispatch @ jquery.js.xhtml?ln=primefaces&v=6.2.9:3
q.handle @ jquery.js.xhtml?ln=primefaces&v=6.2.9:3
trigger @ jquery.js.xhtml?ln=primefaces&v=6.2.9:4
simulate @ jquery.js.xhtml?ln=primefaces&v=6.2.9:4
c @ jquery.js.xhtml?ln=primefaces&v=6.2.9:4
4) Steps to reproduce
You can test this in the showcase:
https://www.primefaces.org/showcase/ui/data/pickList.xhtml
5) Sample XHTML
6) Sample bean
The text was updated successfully, but these errors were encountered: