#36336: Incorrect size of first autocomple in Inlines with "collapse" class (on
chromium based browsers?)
-------------------------------------+-------------------------------------
     Reporter:  MichaƂ Pokusa        |                    Owner:  (none)
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  5.1
     Severity:  Normal               |               Resolution:
     Keywords:  autocomplete         |             Triage Stage:  Accepted
  collapse size inline               |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Comment (by Jan Tumpa):

 The "show and hide" fix to this is also discouraged by jQuery for good
 reason. It's a negative for UX and performance.





 "jQuery will attempt to temporarily show and then re-hide an element in
 order to measure its dimensions, but this is unreliable and (even when
 accurate) can significantly impact page performance. This show-and-rehide
 measurement feature may be removed in a future version of jQuery."


 Additionally, while the support for the "open" class would be a nice
 addition, it still doesn't fix the underlying issue with this.

 I agree this is most likely an issue with `Element.outerWidth()`.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36336#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070196777ab5cc-6c9d1683-8b3d-4bed-a3bc-74f431667500-000000%40eu-central-1.amazonses.com.

Reply via email to