A little misalignment here on Meta (and in my forum too) when I use Firefox (latest version).
When you create a topic and click to choose a category the cursor appears under the box :
A little misalignment here on Meta (and in my forum too) when I use Firefox (latest version).
When you create a topic and click to choose a category the cursor appears under the box :
Yes, Firefox has a known ācursor dropā problem.
I suspect this bug is different from this Linux only bug:
Iām using Firefox on Windows 8 and have the same issue
The offset is much greater:
more or less in the next line vs.
in the same line but with missing padding
Itās happening only in the search box for topics and not in the otherwise pretty similar styled general search box
So while still being unique to Firefox (itās not happening in Chrome or Edge) it also appears to be unique to the topic search box, so this might indicate that itās also a discourse issue and not only a browser issue.
I canāt reproduce the misaligned cursor on search box anywhere. Iām using Firefox 47.0 on Ubuntu Gnome 16.04. Makes no difference if I open the box by keyboard or mouse; cursor is correctly placed.
I can reproduce the issue with Firefox (45.0.2) on an ArchLinux Gnome VM, on Windows Iām up-to-date with Firefox 47.0.1.
Also it should be noted that the cursor stays at this position even when typing something:
Just as a reminder, this bug still persists in Firefox 49.0.1 (now on Windows 10) and the latest discourse version.
Any new insights on this?
I think picking select2 was a very big historical mistake I would like us to rectify. Instead we should have an ember component for dropdowns that we can easily hack on. It would contain much less code, handle localizations in the same way the rest of our code does and be something we can extend. The CSS around select2 is a nightmare and we often find ourselves !importanting our way out.
Overall picking select2 was a very big mistake. If I had a time machine I would time machine it out.
cc @eviltrout
Iād be happy to replace it. The basic cases arenāt hard, but it does do some nice things like searching and stuff that weād have to replicate.
I agree overall it would be less pain.
@joffreyjaffeux will be taking this as he replaces select2 with the new component
Fixed