Skip to content

Commit

Permalink
inputs don't throw resize events. Fixes #483
Browse files Browse the repository at this point in the history
  • Loading branch information
oyejorge committed Oct 12, 2022
1 parent 611f55c commit 7c290a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tom-select.ts
Expand Up @@ -336,8 +336,6 @@ export default class TomSelect extends MicroPlugin(MicroEvent){
// keypress and input/keyup
addEvent(control_input,'keypress', (e) => self.onKeyPress(e as KeyboardEvent) );
addEvent(control_input,'input', (e) => self.onInput(e as KeyboardEvent) );

addEvent(focus_node,'resize', () => self.positionDropdown(), passive_event);
addEvent(focus_node,'blur', (e) => self.onBlur(e as FocusEvent) );
addEvent(focus_node,'focus', (e) => self.onFocus(e as MouseEvent) );
addEvent(control_input,'paste', (e) => self.onPaste(e as MouseEvent) );
Expand Down

0 comments on commit 7c290a8

Please sign in to comment.