--
Ticket URL: <https://code.djangoproject.com/ticket/28685>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "opera_2017-10-06_08-48-42.png" added.
Opera screenshot
* Attachment "firefox_2017-10-06_08-52-32.png" added.
Firefox screenshot example
* Attachment "chrome_2017-10-06_08-51-37.png" added.
Chrome screenshot
* Attachment "opera_2017-10-06_08-48-42.png" added.
Opera screenshot
Old description:
> Playing with the new Django 2.0 feature, Select2 widget in admin, I
> noticed a bad position of the last element of the first line in the input
> box itself. Please see the 3 little screenshots attached, each one
> correspond to a different browser (Firefox, Chrome, Opera).
> I do not paste my code here, since I consider it's irrelevant, please ask
> if you need.
New description:
Playing with the new Django 2.0 feature, Select2 widget in admin, I
noticed a bad position of the last element of the first line in the input
box itself. Please see the 3 little screenshots attached, each one
correspond to a different browser (Firefox, Chrome, Opera).
The behavior seems related to the "clear" button added on the top-right of
the input when at least 1 element has been added to the widget.
I do not paste models and admin code here, since it's probably irrelevant.
Please ask if needed.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:1>
* cc: Johannes Hoppe (added)
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:2>
* owner: nobody => Johannes Hoppe
* status: new => assigned
* easy: 0 => 1
Comment:
Thank you Antoine! Good catch, that certainly looks wrong. I will check it
out asap!
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:3>
* has_patch: 0 => 1
Comment:
Antoine could you do me the favor and test my patch :)
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:4>
Comment (by Antoine Lorence):
I can confirm the patch fixed the floating issue on my model. Thanks !
[[Image(https://i.imgur.com/DHmsCAq.png)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"3a191bd4abf9937e11504e66a7e5167910c0ab84" 3a191bd]:
{{{
#!CommitTicketReference repository=""
revision="3a191bd4abf9937e11504e66a7e5167910c0ab84"
Fixed #28685 -- Fixed awkward wrapping of Select2 chips.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:6>
Comment (by Tim Graham <timograham@…>):
In [changeset:"5825212440d7266e1d4ba9795d490f2b6a8c7f73" 58252124]:
{{{
#!CommitTicketReference repository=""
revision="5825212440d7266e1d4ba9795d490f2b6a8c7f73"
[2.0.x] Fixed #28685 -- Fixed awkward wrapping of Select2 chips.
Backport of 3a191bd4abf9937e11504e66a7e5167910c0ab84 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28685#comment:7>