Skip to main content
Barnes_Alison_M
New Member
January 3, 2024
Question

Absolute Position with Horizontal Fill

  • January 3, 2024
  • 11 replies
  • 3663 views

The topic I am after was closed Absolute Positioning: Fill Horizontally. Starting a new thread in hopes something has changed.

I have an input field component that I have a dropdown on, it’s placed with absolute position. The component needs to be responsive; the input itself resizes but the dropdown does not. The “fill container” option is removed from the dropdown when absolute positioning is applied to it.
Image below.

This topic has been closed for replies.

11 replies

Joelson Leal
New Member
January 26, 2025

@Barnes_Alison_M When you set the dropdown to absolute positioning you should be able to adjust the width using constraints: “left and right”.

But you could also achieve the same responsiveness for the dropdown by just using auto-layout (fill-container) vs having it set to absolute positioning (see example file below).

Get Example File

 

 

 

Great tip. Worked perfectly. Thank man.