AJAX form rendering does not remove whitespaces

Created on 3 February 2020, almost 5 years ago
Updated 24 May 2024, 8 months ago

Hello,

Forms are properly rendered when being generated, but if you add a field to the form using Ajax the field is not well aligned.

It looks like that the ajax rendering does not remove whitespaces as the standard rendering is doing. The result can be seen in "ajax-misalignment.png". Field Host is being added via ajax if Host is "Virtual"...

Comparing the "form-generated-output.png" and the one generated via ajax "ajax-generated-output.ong", ajax output shows spaces that the output from the form does not do.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
AjaxΒ  β†’

Last updated 1 day ago

Created by

πŸ‡«πŸ‡·France mathiasmg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¦πŸ‡ΊAustralia mstrelan

    Please provide steps to reproduce the issue.

    FWIW I'm inclined to think that the CSS should not rely on whitespace existing or not existing in the markup and should handle both cases accordingly. An example in core would be useful.

  • Status changed to Closed: cannot reproduce 8 months ago
  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Closing this since there has been no further info provided. If there are specific steps to reproduce in core, please reopen the ticket and add them to the issue description.

Production build 0.71.5 2024