4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Figma でスクロール可能なモーダルを作成する

Last updated at Posted at 2022-02-02

完成形

手順

  1. ボタンとモーダルを設置する
  2. ボタンクリック時にモーダルが開くようにする
  3. バツボタンをクリックでモーダルが閉じるようにする
  4. モーダル内のコンテンツをスクロール可能にする

1. ボタンとモーダルを設置する

スクリーンショット 2022-02-02 18.34.54.png

2. ボタンクリック時にモーダルが開くようにする

スクリーンショット 2022-02-02 18.41.48.png

3. バツボタンをクリックでモーダルが閉じるようにする

スクリーンショット 2022-02-02 18.45.35.png

4. モーダル内のコンテンツをスクロール可能にする

コンテンツ (あいうえお…) の親要素として Frame を配置し、Clip content のチェックをオンにする。

スクリーンショット 2022-02-02 18.50.57.png

続いて Overflow scrollingVertical scrolling にする。

スクリーンショット 2022-02-02 18.56.08.png

完成

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?