PDA

View Full Version : ComboBox shows caret at the last position.



anant.choubey
3 Feb 2015, 4:13 AM
Hi All,

I noticed that in a non-editable combobox, the caret position is always at the last. And if the value is longer than the size of the combobox then we do not see the starting of the selected value.

See image below : 2 Category - user is not able to see the starting of the text.51658

Please help, i want that the caret should always be in the starting of the text.

Thanks.

joel.watson
5 Feb 2015, 8:53 AM
Hi--

Can you provide a test case of the issue? If you can post your code here or (ideally) create a Fiddle (https://fiddle.sencha.com), I'll be happy to test this with you.

Thanks!
Joel

anant.choubey
5 Feb 2015, 11:32 PM
Hi Joel,

Thanks for your reply.

I created the following fiddle for you. Please test this is mozilla and IE10.
https://fiddle.sencha.com/#fiddle/hpo

In mozilla, i dont find any issue with drop down but in IE10 i do.
See screenshot.

51688

Thanks,
Anant Choubey

joel.watson
11 Feb 2015, 7:17 AM
Hi Joel,

Thanks for your reply.

I created the following fiddle for you. Please test this is mozilla and IE10.
https://fiddle.sencha.com/#fiddle/hpo

In mozilla, i dont find any issue with drop down but in IE10 i do.
See screenshot.

51688

Thanks,
Anant Choubey

This might be an issue with IE itself. Check out this non-Ext JS example:

http://codepen.io/anon/pen/pvpVyW

Thanks