jQuery UI Widgets › Forums › Lists › DropDownList › Scrolling Bug and Categories
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 10 years, 2 months ago.
-
Author
-
a)
I am on OS X and Firefox. When I scroll with the mouse in a DropDownList, the entire firefox window scrolls as well. This can be seen in your demos. I cant have it like that, looks ugly. It should stay still, as the html select tag does when you scroll inside it. .b)
I also found another issue, when you scroll with the keyboard – the browser window sits still in this case, only the dropdown scrolls – you cant go up to the very top if you have categories. If you go down, and then up, you want be able to see the first category. It stops at first selectable item, should go to the very top, so you get back as it was when you started to scroll.In this case the mouse scrolling goes all the way up. can been seen in your category demo.c)
I want to do a DropDownList with both categories and icons. But how do I put icons to the categories, groups!? they all have the same index -1. Is the only way use render and look for what the label is?Hi MrBjorn,
Sorry, that you find our scrolling implementation to be ugly. We can’t help about this and it is definitely not a bug. Regarding the rendering of icons in categories/groups – no this it not possible. Regarding the keyboard navigation – you can navigate only through selectable items. Groups are not selectable by design. “When I scroll with the mouse in a DropDownList, the entire firefox window scrolls as well” – not true. The window scrolls when there is nothing for scrolling in the DropDownList i.e when you are at the bottom or top of the list, the mouse wheel is not handled by the widget and it should not be handled by the widget when it should not perform an action with that event.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/It would be good if you had support for have icons as well for categories, its usually for the categories I want icons.
Scrolling:
It is true this problem. What is ugly is this that the window where the dropdwonlist is in, scrolls at the same time you scroll in the dropdownlist. Its very confusing when two windows scrolls at the same time. This is with the mouse. Also Note I scroll inside the dropdownlist, not by dragging the dropdownlist scrollbar up and down. I am on OS X, and you hardly ever scroll by grabbing the scrollbar and move it up and down. Test it again like this in the first demo:just focus the dropdownlist and move the mouse, i have a Apple Magical Mouse, and move my finger for scrolling up and down in the dropdownlist, at the same time the firefox window with the whole webpage starts to scroll up and down. This is clearly a showstopper, u cant have it like that. People would go crazy about what exactly is scrolling 🙂 It also starts to flicker the graphics with two windows scrolling inside each other.
In a usual Select the window stays still, only the dropdownlist scrolls when you scroll.
Hi MrBjorn,
I explained you how this works and how it should work in my previous post. I am sorry, that you find it ugly and that is showstopper for you. We do not plan to make changes here because it should work in that way and we did it on purpose. Mouse Wheel is handled by jqxDropDownList only when it is necessary i.e when the content should be scrolled up or down.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/I don’t think you understand what I mean.
Its impossible your intention was that the window, which the plugin is in, is scrolling, when you scroll the listbox. Is not one web page on the web that behaves like this. If I scroll the TV channels on CNN.com for instance, I don’t want the page to scroll.. just the list with channels .. 🙂
If you want I can take a screen capture and email to you so you see clearly what happens? Its maybe only on OS X this happens. You are maybe on linux or windows.
let me know where to send a capture so you can see exactly what I mean.
Hi MrBjorn,
I understand what you mean and thied to explain you several times. I do not need a screen capture. In case we decide to make some changes in the scrolling in the future, I will update this post.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comOK, I am still unsure if you really know what I mean 🙂 The dropdown looks good, and i really like autoopen. But this is a flaw that make it unusable for us. You get a feeling because of this detail that its not finished the UI.
Can you please explain, Why should the page scroll, when you want to scroll the items in the list? I cant understand why you implemented it this way. I cant see any logic behind it?
And if you really implemented it with this intention, that the parent window is scrolling, why is this behavior in that case different between if you scroll with mouse or keyboard. If I scroll with the keyboard, the parent window sits still.
We can take this very edit window which I write in at this very moment as an example. When i scroll either with the mouse or keyboard. it scrolls the content of the edit window. Not the parent window. Why isn’t this window implemented the same, that the parent window moves when I scroll inside the edit window?
This is things that makes users very uncomfortable and frustrated, when things looks like they are broken. I maybe really want to see the position I am in the page when i select for instance a car model in a listbox. At least it feels very strange the windows moves up and down when I move around in the listbox.
Hi MrBjorn,
I am not going to argue with you how something should work or how it should be implemented. Your posts clearly show that you don’t like the current behavior. That is Ok for us. We keep improving our software every day. If we decide that it is necessary to make improvements in the DropDownList, we will make them. For now, we do not plan such, because we do not find it necessary and because we think that the current implementation works in the way we think it should work. It you think otherwise, then you can modify the widget’s code if you own a license in the way you wish and of course according to the terms defined in the EULA.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.