Description:
We have encountered a major regression in the Retool Mobile HTML Component. The renderer appears to be applying aggressive CSS overrides (likely global display: block or width: 100% rules) that break standard web layout capabilities.
Specific issues observed:
- Native Lists (
<ol>): List markers (numbers 1., 2., 3.) are completely invisible/hidden. - Flexbox Ignored:
display: flexcontainers force children to stack vertically instead of horizontally. - Tables Broken:
<td>cells stack vertically instead of sitting side-by-side. - Inline-Block Ignored: Elements styled with
display: inline-blockare forced to new lines.
This makes it impossible to render standard rich text or basic multi-column layouts.
Steps to Reproduce:
- Open a Retool Mobile app.
- Drag an HTML component onto the canvas.
- Paste the "Reproduction HTML" provided below into the HTML value.
- Expected Behavior:
- "Native List" should show numbers (1, 2) next to the text.
- "Flexbox Test" should show "Item 1" and "Item 2" side-by-side (Green row).
- "Table Test" should show "Cell 1" and "Cell 2" side-by-side (Blue row).
- Actual Behavior:
- Native list numbers are missing.
- Flex items are stacked vertically (on new lines).
- Table cells are stacked vertically.
Reproduction HTML:
<div style="padding: 15px; font-family: sans-serif; font-size: 14px; background-color: #ffffff;">
<!-- ISSUE 1: Native List Markers Missing -->
<h4 style="margin: 0 0 5px 0; color: #d32f2f;">1. Native List (Missing Numbers)</h4>
<p style="margin: 0 0 5px 0; font-size: 12px; color: #666;">You should see numbers 1. and 2. below. In Retool Mobile, they are invisible.</p>
<ol style="margin-bottom: 20px; border: 1px solid #ccc; padding: 10px 10px 10px 30px;">
<li>List Item One</li>
<li>List Item Two</li>
</ol>
<!-- ISSUE 2: Flexbox Layout Broken -->
<h4 style="margin: 0 0 5px 0; color: #d32f2f;">2. Flexbox (Vertical Stacking)</h4>
<p style="margin: 0 0 5px 0; font-size: 12px; color: #666;">The green items below should be side-by-side. They stack vertically.</p>
<div style="display: flex; flex-direction: row; align-items: center; border: 1px solid green; padding: 5px; margin-bottom: 20px;">
<div style="background-color: #c8e6c9; padding: 5px; margin-right: 5px;">Flex Item 1</div>
<div style="background-color: #a5d6a7; padding: 5px;">Flex Item 2</div>
</div>
<!-- ISSUE 3: Table Layout Broken -->
<h4 style="margin: 0 0 5px 0; color: #d32f2f;">3. HTML Table (Vertical Stacking)</h4>
<p style="margin: 0 0 5px 0; font-size: 12px; color: #666;">The blue cells below should be side-by-side. They stack vertically.</p>
<table style="width: 100%; border: 1px solid blue; border-collapse: collapse;">
<tr>
<td style="background-color: #bbdefb; padding: 5px; border: 1px solid #fff;">Cell 1</td>
<td style="background-color: #90caf9; padding: 5px; border: 1px solid #fff;">Cell 2</td>
</tr>
</table>
</div>


