Wednesday, May 2, 2012

Re: Suggestbox suggestions not displayed when navigating using arrow keys

You probably have to implement your own SuggestionDisplay and add some logic to moveSelectionDown/moveSelectionUp to also adjust your scrollable container. You have made the container scrollable, so you must also implement your desired scrolling behavior.

-- J.



Am Mittwoch, 2. Mai 2012 08:39:16 UTC+2 schrieb ALB-PSP-DV1:
We have a suggestbox with approx. 50 suggestions. We are displaying a
scrollbar for the suggestbox using the following css

.suggestPopupContent{
        height:auto;
        width:auto !important;
        max-width:400px;
        max-height: 165px;
        overflow-y: auto;
        padding-right:18px;
}

Now when the user tries to navigate through the suggestions using the
Up/Down arrow key, the suggestions not within the current visible area
are not displayed.

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/JgxjS0QBncoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment