Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

fix(multiple): text input not resized on window resize #1183

Closed
wants to merge 1 commit into from

Conversation

romario333
Copy link

Text input within multiple select is not resized correctly on window resize. Open this plunkr and try to resize window. Notice that text input (with green background) is not resized:

http://embed.plnkr.co/cqsb8nOIunj2rMU36z5H/preview

Here's the demo with this fix applied: http://embed.plnkr.co/pPdeELl80hgCOVZKCs6a/preview

@dangoodman
Copy link

I have just made a PR fixing the same issue, just with a more general approach — #1252 .

$select.sizeSearchInput();
}

angular.element($window).on('resize', onWindowResize);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be debounced.

@wesleycho
Copy link
Contributor

This needs tests.

@user378230
Copy link
Contributor

This appears to have been implemented somewhere else and subsequently improved on by #1536 and #1538.

Closing.

@user378230 user378230 closed this Apr 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants