scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS
MIT License
5.59k stars 508 forks source link

how to presented modally ViewController on floating panel #607

Open doitduri opened 1 year ago

doitduri commented 1 year ago

Description

I want to presented modally ViewController on Floaitng Panel.

But, I called presented ViewController on Floating Panel and then when I changed to device orientation, i saw that layout invalided screen.

why does it?

Expected behavior

Actual behavior

Steps to reproduce

  1. called A Flaoting panel on ViewController
  2. presented modally ViewController on A Flaoting Panel
  3. change to orientation (portrait -> landscape)
  4. check invalid layout

image

How do you display panel(s)?

How many panels do you displays?

Environment

Library version

iOS version(s) 16.2

Xcode version 14.3.1