Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(spindle-ui): SemiModalのデザインがブラウザによって異なる #786

Open
yanagi0602 opened this issue Aug 23, 2023 · 0 comments
Labels
bug Something isn't working spindle-ui

Comments

@yanagi0602
Copy link
Contributor

yanagi0602 commented Aug 23, 2023

概要

SemiModalを利用した際にブラウザ間でデザイン差分が生まれているが、これは意図した挙動でしょうかという質問になります。

バージョン

0.62.1

具体的な内容

SemiModalのStoryでSemiModal内の.spui-SemiModal-contents要素を確認すると、以下のような差分が存在します。

Chrome

コンテンツの右側の余白が広い

Safari

コンテンツの右側の余白が広い

FireFox

コンテンツが幅いっぱいに表示されている

差分が生まれている理由

FireFoxはスクロールバーの領域を確保せず、Safari・Chromeはoverflowコンテンツの有無に関わらずスクロールバーの領域を確保するためこの差分が生まれていそうです。

Chromeでのスクロール可能状態

Chromeでスクロール可能な状態のスクリーンショット

FireFoxでのスクロール可能状態

@yanagi0602 yanagi0602 added question Further information is requested spindle-ui bug Something isn't working and removed question Further information is requested labels Aug 23, 2023
@yanagi0602 yanagi0602 changed the title (spindle-ui): SemiModalのデザインがブラウザによって異なる件についての質問 (spindle-ui): SemiModalのデザインがブラウザによって異なる Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spindle-ui
Projects
None yet
Development

No branches or pull requests

1 participant