-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-autocomplete: A few issues #1484
Comments
@robertmesserle - Also the lookup delays [from keydown to search query results] seem excessive (at least in the demos). |
@robertmesserle @ThomasBurleson Specifically the first one is really long to the point where it's easy to hit enter long before you see the focused state. |
@ThomasBurleson Yea, the delays are a bit exaggerated. For this example, it may make sense to just remove the delays entirely, since they only serve to demonstrate support for asynchronous lookups. It's unlikely that you'd realistically need to asynchronously lookup states... |
@epelc Great feedback! There should definitely be a fix in to address these issues soon. |
There is definitely more work for accessibility, as noted in #1473. I have started on those, too! |
@robertmesserle I think your thinking about the time to load results. The delay @ThomasBurleson and myself are mentioning is after your results have loaded. When you hit the down arrow the transition to each item(especially the first) is a bit long. Also you can hit enter halfway through this and it will select it(not that this itself is a bug it's expected but it shows how long the delay in visual effects is). |
Does the autocomplete component supports handling a list of objects of arbitrary structure ? |
@robertmesserle just capturing the things we discussed this morning:
|
@marcysutton What do you think about switching the cancel button to an |
@epelc I think that is a great idea if we can reuse the behavior and style beyond I wonder if we could leverage that here. |
@marcysutton Perhaps the some styles from |
key presses enhance(autocomplete): replaces 'x' button with md-icon Related to #1484.
Adding a checklist for progress tracking...
|
Added checkbox to toggle simulated query delay in the demo along with a brief description of what is going on: 6c5fdba |
Closing this issue - have opened new issues for the items that have not been addressed yet. |
I don't see that the md-raised style on the md-autocomplete was every addressed. By default I still get that raised styled on my autocomplete components. I don't see that an issue was created to fix this. Is there a way to have a full-width, flat md-autocomplete? |
@rscottfree See the floating label demo(last one on the bottom) https://material.angularjs.org/HEAD/#/demo/material.components.autocomplete |
Thanks, @epelc, but that's not quite what I'm after. Perhaps what I'm after doesn't exist but looking at the Material design document, it appears that there is an auto-complete component within a toolbar and the auto-complete input box has no styling around it, no drop-shadow or border even. Another example is the Google Inbox app where the search box has a background color and border style, but is otherwise a flat design, no raised effect. It's basically the md-autocomplete with floating label, but without the floating label and no bottom border 😃 https://www.google.com/design/spec/components/text-fields.html#text-fields-auto-complete-text-field |
@rscottfree We should definitely add support for this visual treatment. I believe a ticket was opened, but since I don't have it handy, I will open a new one now just to make sure it doesn't fall through the cracks |
@robertmesserle was there ever any progress on allowing a flat md-autocomplete (without a floating label)? I couldn't find the ticket. |
Not yet, but it is planned. Sent from my iPhone
|
+1 for md-autocomplete icons |
+1 for icons |
+1 for icons 👍 |
@rick4470 @b22n @drinkbird What icons are you all referring to? The faces? It might be a good idea to make a new issue for these icons specifically. This issue was just meant to address a big group I found at the time which I thought could be fixed pretty rapidly. |
@epelc I was referring to the ability to define an icon to be displayed within the autocomplete control, like the magnifying glass in @rscottfree 's post above. I would be happy to open a new issue if you think it's more appropriate. |
@drinkbird I think it'd be good if you'd open a new issue for this. |
Was a new issue submitted for adding the icon as part of the input field? I am trying to use md-icon with md-autocomplete on the same row and the icon does not align properly. |
+1 for icons |
Here are a few issues I've found with the new
md-autocomplete
directive. I didn't make separate issues as these are somewhat minor and I didn't want to spam the issues section. Also let me know if these shouldn't be reported yet(if its still in heavy development). I assume they should sincemd-autocomplete
seems to have been initially released according to the changelog.x
button doesn't have any styles for the focused state. It also appears to just be a regular button so perhaps switching it tomd-button
would be a good idea for the aria benefits.md-raised
type styles. Could this become a class instead so that the default could fit better on a toolbar.Also very good job on the first version I didn't even expect to get this so soon.
The text was updated successfully, but these errors were encountered: