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

The list opens up, although enough space at the bottom #977

Closed
isimonov opened this issue Jun 1, 2015 · 13 comments
Closed

The list opens up, although enough space at the bottom #977

isimonov opened this issue Jun 1, 2015 · 13 comments

Comments

@isimonov
Copy link

isimonov commented Jun 1, 2015

There is a situation when the list is up coming off, although bottom has enough space. Not logical behavior. How I was able to track the problem only occurs in Google Chrome

http://plnkr.co/edit/oZCudVaPNc42B7hLYB7j?p=preview

opens_up

@equilerex
Copy link

Can confirm... maybe it depends on the form's css but for me, it jumps all over the place... not doing anything and continuously clicking it will open it "up" about 80% of the times regardless how close you are do the bottom of the page

it is definitely related to a merge 4 days ago: #836
if you want it to work, downgrade to v0.11.2 until someone can shed some light into it ;)

@dcominottim
Copy link

Is there a way to disable the "up direction" rendering at all?

@ggregoire
Copy link

@equilerex Nice catch. I downgraded and now it works as expected :)

@igorlino
Copy link

From usability perspective, its really annoying not to control the direction where things appear.

The version, as it, is unusable.

@igorlino
Copy link

The PR #989 fixes the issue of inconsistent behaviour. Although I personally would like to have it configurable.

@isimonov
Copy link
Author

Yes, it would be better not to do the thing than to do bad. Moreover, the need for this function in General is questionable, because it is difficult to do, hard to debug and difficult to maintain.

@LeleDev
Copy link

LeleDev commented Aug 19, 2015

It's a shame that no option / way to disable these buggy up-direction dropdowns has been provided yet

@dimirc
Copy link
Contributor

dimirc commented Sep 28, 2015

Should be solved with #1212

@igorlino
Copy link

That's one small step for a man, a giant leap for mankind.

@igorlino
Copy link

@isimonov Please allow making the direction configurable (static or dynamic). If its only dynamic even if it works correctly, it does not bring a consistent user experience in some cases.
Imagine there is a critical information that should not be hidden by the dropdown going up. Or in some layouts the label is up, and you don't want to hide it.

@isimonov
Copy link
Author

I agree, direction configurable would be best) ui-select project, unfortunately, at an impasse. I think the best solution would be to start over under the new major version. In my projects now I use ui bootstrap Typeahead with some minimal modifications. It's easier and no bugs.

@karptonite
Copy link

In the mean time, I have my own hack that allows me to set a select to open down only, here:
karptonite@b3fcd9d
No promises but you are welcome to give it a try. The template changes seem to be some sort of build artifact, btw--the only relevant changes are in uiSelectDirective.js

@dimirc
Copy link
Contributor

dimirc commented Sep 29, 2015

@igorlino @isimonov @karptonite I agree with you so I just created PR #1213 that will allow to configure dropdown position. Take a look and let me know your comments

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants