-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make SuggestionBox can be on top of TextField. #9
Comments
Hey, So you want to show the suggestions to the top instead of the bottom, depending on how much visible space there is? or depending on what exactly? |
Yeah, except the |
Thank you for the suggestion! This is a nice feature to have. This might take me some time to implement as I am a bit busy these few days. If you're in a hurry, you can implement it and submit a pull request :) Otherwise, I will try to implement it as soon as possible. |
Thank you. I will try to implement it. |
Updated pull request here: |
@KaYBlitZ @sjmcdowall, @Rassell has been generous enough to upload a pull request addressing this issue, but the pull request has a lot of noise (unrelated changes), which are making it a bit hard to extract the core changes that the pull request actually does. Does any of you have the time to review the pull request and extract its core changes into another pull request? |
I tested @Rassell 's version and found a few weird behaviors. Using
the most relevant search is at the top of the suggestions box. Not sure if this is the intended behavior or if the list should be reversed, ie: most relevant object at bottom of box and least relevant going up. I believe the list should be reversed since the direction is up. I also tried
but the list goes down instead of up. Also if the keyboard is covering the TextBox, the list does not go up and instead is not shown at all. I think most of these breaking changes came from when I implemented the auto-resize and scrolling fixes. It's a good start, but there needs to be more fixes so it meshes well with the breaking changes that I have made. |
@Rassell @yohom If you guys have time, can you test my fork for the up direction functionaliy? I modified the code from your PRs to work with the auto-resize feature I added before. This way we do not have to add a noResize attribute and it will just work. In pubspec.yaml use:
|
I committed to master. Someone just has to push to the pub @sjmcdowall @AbdulRahmanAlHamali . I also added my email in pubspec.yaml if you want to give me access. Let us know if anyone finds an issue with the direction property. |
Great -- I'll do that when I get home --
… On Jan 23, 2019, at 10:17 AM, Kenneth Liang ***@***.***> wrote:
I committed to master. Someone just has to push to the pub @sjmcdowall <https://github.com/sjmcdowall> @AbdulRahmanAlHamali <https://github.com/AbdulRahmanAlHamali> . I also added my email in pubspec.yaml if you want to give me access.
Let us know if anyone finds an issue with the direction property.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#9 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB8M7XtLDC3qN1PpBQgZsZjP11NdO7AOks5vGH0UgaJpZM4Xdp_E>.
|
pushed
… On Jan 23, 2019, at 10:17 AM, Kenneth Liang ***@***.***> wrote:
I committed to master. Someone just has to push to the pub @sjmcdowall <https://github.com/sjmcdowall> @AbdulRahmanAlHamali <https://github.com/AbdulRahmanAlHamali> . I also added my email in pubspec.yaml if you want to give me access.
Let us know if anyone finds an issue with the direction property.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#9 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB8M7XtLDC3qN1PpBQgZsZjP11NdO7AOks5vGH0UgaJpZM4Xdp_E>.
|
Version 2.0.0
Is there any way to put the
SuggestionBox
aboveTextField
? Because now my situation is that the input method will block the SuggestionBox, so I want to make the SuggestionBox above the TextField.The text was updated successfully, but these errors were encountered: