Validated inputs in .input-groups no longer render behind sibling elements Prevent accent-bg from leaking in nested tables Modal backdrops no longer throw Uncaught TypeError when initialized through JS Refactored disposing properties into the base component Extracted static DATA_KEY and EVENT_KEY to the base component Merged transitionend listener callbacks into one method Popovers and tooltips have a streamlined config property Toasts no longer automatically hide on focus or hover No longer redefining $list-group-color in the list group loop Our docs and examples also received a few updates:"> Validated inputs in .input-groups no longer render behind sibling elements Prevent accent-bg from leaking in nested tables Modal backdrops no longer throw Uncaught TypeError when initialized through JS Refactored disposing properties into the base component Extracted static DATA_KEY and EVENT_KEY to the base component Merged transitionend listener callbacks into one method Popovers and tooltips have a streamlined config property Toasts no longer automatically hide on focus or hover No longer redefining $list-group-color in the list group loop Our docs and examples also received a few updates:"> Validated inputs in .input-groups no longer render behind sibling elements Prevent accent-bg from leaking in nested tables Modal backdrops no longer throw Uncaught TypeError when initialized through JS Refactored disposing properties into the base component Extracted static DATA_KEY and EVENT_KEY to the base component Merged transitionend listener callbacks into one method Popovers and tooltips have a streamlined config property Toasts no longer automatically hide on focus or hover No longer redefining $list-group-color in the list group loop Our docs and examples also received a few updates:">

Bootstrap 5.0.1

@mdo 2021 年 5 月 13 日

Bootstrap 5 的第一个补丁版本 v5.0.1 已经发布!我们修复了 CSS 和 JS 中的一些错误,同时还解决了一些文档和示例中的问题。

变更日志

  • 修复了下拉菜单在点击 <input> 后不会关闭的问题
  • .input-group 中的验证输入不再渲染在兄弟元素后面
  • 防止 accent-bg 在嵌套表格中泄漏
  • 模态框背景不再在通过 JS 初始化时抛出 Uncaught TypeError
  • 将处置属性重构到基础组件中
  • 将静态的 DATA_KEYEVENT_KEY 提取到基础组件中
  • transitionend 监听器回调合并到一个方法中
  • 弹出框和工具提示有一个简化的配置属性
  • Toast 不会再在获得焦点或悬停时自动隐藏
  • 不再在列表组循环中重新定义 $list-group-color

我们的文档和示例也进行了一些更新

  • 修复了侧边栏示例在 Chrome 中无法正确渲染的问题
  • 修复了 RTLCSS stringMap 配置代码段
  • 更新了画布导航栏示例以防止控制台错误
  • 修复了迁移指南中的各种拼写错误、语法错误和链接

前往 GitHub 查看完整的 v5.0.1 中的问题和拉取请求列表。您也可以查看 v5.0.1 项目看板

获取发布版本

前往 https://bootstrap.ac.cn 获取最新版本。 它也已推送到 npm

npm i bootstrap

查看 GitHub v5.0.1 版本发布变更日志 以获取自上次发布以来的所有更改列表。

支持团队

访问我们的 Open Collective 页面 或我们的 团队成员 的 GitHub 个人资料,以帮助支持为 Bootstrap 做出贡献的维护者。