Skip to main content
Alexei
New Participant
June 28, 2024
Solved

Overlay with responsive size depending on the browser window

  • June 28, 2024
  • 14 replies
  • 3405 views

I am trying to build a prototype where the size of the overlay depends on the size of the window. There is a set of overlays. On click of the button I open overlay on the side of the screen



and the height of the overlay needs to follow the height of the window.

First image looks good. The overlay in the second needs to adjust.
HOW?

This topic has been closed for replies.
Best answer by Alexei

I found a simple solution: 

  1. modal window needs to be placed on the page(s) and hidden;
  2. using variable visibility can be toggled with links/buttons;
  3. the property of the modal window responsive adjustment can be set using Constraints 

     

14 replies

djv
Figmate
Community Support
July 2, 2024

Hey @Alexei, thanks for reaching out!

It’s not currently possible to create a responsive overlay. Instead, you’ll want to create different overlay sizes to correctly fit the different window sizes. There’s no way to make the overlay responsive or auto-adjust.

Alexei
AlexeiAuthor
New Participant
July 3, 2024

Is there a way to measure a window resolution in prototype?

Peter_Uithoven
July 8, 2024

I’ve proposed a solution as an idea:

Please upvote.

Jouni_Koivuviita
August 20, 2024

I just bumped into this limitation as well. The responsive preview mode is really nice, but this limitation kills it for my use case.

Luke34
September 3, 2024

Same problem. Been fighting this on my own for about two hours believing it must be possible, given some of the responsive capabilities in Figma, and other instances that can maintain top and bottom distances from boundairies, etc. Finally gave up hacking and came here to search for the ‘answer’… and this thread is it. Once again, Figma failng at basic common sense ui requirements. Like so many other basic needs it cant do. How did this tool become the darling of businesses, it so handicapped. And now to get a job, you’re expected to be able to use this? Why ? Do I have to know how to use Figma to make things NOT work?

Myat_Min
September 13, 2024

I share the same concern. It would be great if we could address the need for a responsive overlay.

Looking forward to your response!

Tonio
October 11, 2024

Yeah I agree. This feature should be great four our prototypes.

Alessio_Viola
New Member
October 16, 2024

I agree too, this feature should be implemented for prototyping.

Joe_Cloughley
New Participant
December 2, 2024

+1 on this. It would be very helpful.

Uri_Berry
New Member
January 14, 2025

+1, needed for advanced prototyping