white-space: nowrap;.flex-wrap to wrap if needed.When a long heading within a div fails to wrap correctly until double-clicked, it can be confusing. Here’s how to troubleshoot this issue in Webflow.
white-space: nowrap; that might prevent automatic wrapping.
div uses Flexbox or Grid layout. These layouts can sometimes override default text wrapping behavior.flex-wrap to wrap or ensure the grid layout supports proper text flow if using these display settings.
visible, hidden, or scroll; all can influence text wrapping.auto or visible to allow natural content flow.
-webkit- prefixes, potentially causing inconsistencies.
To resolve the text wrapping issue, verify text field settings and ensure any advanced layout (like Flexbox or Grid) supports wrapping. Review overflow settings and any custom CSS that might impact behavior, and make necessary adjustments to achieve consistent text wrapping.