Semantic-ui: [Dropdown] Examine jQuery 3 Usage

Created on 14 Apr 2016  路  3Comments  路  Source: Semantic-Org/Semantic-UI

Try to use jQuery version 3.0.0-beta1, and mouse move on dropdown's item doesn't work at all (whether on ui dropdown and ui search selection dropdown).

Will give you errors:

  • Uncaught TypeError: s.siblings(...).andSelf is not a function from w.event.keydown <~~ when moving cursor across items
  • semantic.min.js:13 Uncaught TypeError: n.size is not a function from w.event.search.blur from w.forceSelection <~~ when onblur

Everything is fine if you turn back to jQuery version 2.x.x

Confirmed Bug

Most helpful comment

Fixed in 2afb4d95d201f40fb7ea77cf5d580f1f82c4fb97

All set for 3

All 3 comments

The first function (addSelf) is deprecated and removed in v3 in favor of addBack

I'll fix jQ 2.x issues today

Fixed in 2afb4d95d201f40fb7ea77cf5d580f1f82c4fb97

All set for 3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iPaoo picture iPaoo  路  3Comments

kntmrkm picture kntmrkm  路  3Comments

ghost picture ghost  路  3Comments

deneuxa picture deneuxa  路  3Comments

miguelmota picture miguelmota  路  3Comments