Skip to content

Conversation

@afc163
Copy link
Member

@afc163 afc163 commented May 21, 2016

@afc163 afc163 changed the title Fix page shake when modal open Fix page shake when modal toggle open May 21, 2016
@coveralls
Copy link

Coverage Status

Coverage increased (+1.05%) to 84.884% when pulling c556db8 on fix-page-shake-when-modal-open into 8320cad on master.

@yiminghe yiminghe merged commit 982d43d into master May 23, 2016
@yiminghe yiminghe deleted the fix-page-shake-when-modal-open branch May 23, 2016 03:56
@afc163
Copy link
Member Author

afc163 commented May 23, 2016

https://github.com/twbs/bootstrap/blob/795d2208b882e194e6059a1639e056e020d64072/js/modal.js#L243-L257

modal 的 wrapper 也要加上 padding,否则关闭时浮层会有一个轻微的跳动。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modal 滚动时背景还是会滚动

4 participants