https://github.com/twbs/bootstrap
Revision b167420bdf3c23ad9fb6c57818048c3c0e8da702 authored by GeoSot on 13 May 2022, 04:20:04 UTC, committed by GitHub on 13 May 2022, 04:20:04 UTC
* refactor(Modal.js): stop using backdrop class to handle clicks over modal

* Revert #35554 and backdrop callback usage
  Explanation: In order to bypass `.modal`, was applied a css rule `pointer-events:none` which caused the side effect, and user couldn't scroll "long content modals"

* Update .bundlewatch.config.json

Co-authored-by: Mark Otto <markd.otto@gmail.com>
1 parent 88a6610
Raw File
Tip revision: b167420bdf3c23ad9fb6c57818048c3c0e8da702 authored by GeoSot on 13 May 2022, 04:20:04 UTC
Revert backdrop utilization, handling clicks over modal (#36324)
Tip revision: b167420
.stylelintrc
{
  "extends": [
    "stylelint-config-twbs-bootstrap"
  ],
  "rules": {
    "declaration-property-value-disallowed-list": {
      "border": "none",
      "outline": "none"
    },
    "function-disallowed-list": [
      "calc",
      "lighten",
      "darken"
    ],
    "property-disallowed-list": [
      "border-radius",
      "border-top-left-radius",
      "border-top-right-radius",
      "border-bottom-right-radius",
      "border-bottom-left-radius",
      "transition"
    ],
    "scss/dollar-variable-default": [
      true,
      {
        "ignore": "local"
      }
    ],
    "scss/selector-no-union-class-name": true
  }
}
back to top