diff --git a/README.md b/README.md
index 3144c46..0819ede 100644
--- a/README.md
+++ b/README.md
@@ -22,13 +22,13 @@
I created this plugin because I hate ugly and space consuming scrollbars. Similar plugins haven't met my requirements in terms of features, quality, simplicity, license or browser support.
-## Goals & Features.es6
+## Goals & Features
- Simple, powerful and well documented API
- High browser compatibility - **Firefox 59+**, **Chrome 55+**, **Opera 42+**, **Edge 12+**, **Safari 10+** and **IE 11**
- Can be run on the server - **SSR**, **SSG** and **ISR** support
- Tested on various devices - **Mobile**, **Desktop** and **Tablet**
- - Tested with various (and mixed) inputs - **Mouse**, **touch** and **pen**
+ - Tested with various (and mixed) inputs - **Mouse**, **Touch** and **Pen**
- **Treeshaking** - bundle only what you really need
- Automatic update detection - **no polling**
- Usage of latest browser features - best **performance** in new browsers
@@ -115,7 +115,20 @@ const osInstance = OverlayScrollbars(document.querySelector('#myElement'), {});
If you initialize OverlayScrollbars it needs a few milliseconds to create and append all the elements to the DOM.
While this period the native scrollbars are still visible and are switched out after the initialization is finished. This is perceived as flickering.
-To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (and `html` element if the target element is `body`).
+To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (or `html` element if the target element is `body`).
+
+```html
+
+
+
+
+
+
+
+
+ OverlayScrollbars is applied to this div
+
+```
### Initialization with an Object
diff --git a/packages/overlayscrollbars/CHANGELOG.md b/packages/overlayscrollbars/CHANGELOG.md
index 48d5b69..54bb88c 100644
--- a/packages/overlayscrollbars/CHANGELOG.md
+++ b/packages/overlayscrollbars/CHANGELOG.md
@@ -1,5 +1,16 @@
# Changelog
+## 2.1.1
+
+### Bug Fixes
+
+- Fixed a bug where pointer events weren't released properly after drag or click scrolling. [#512](https://github.com/KingSora/OverlayScrollbars/issues/512)
+
+### Improvements
+
+- The `os-theme-dark` and `os-theme-light` themes now use `border-box` box-sizing as their default.
+- Improve the `README.md` documentation for initialization, styling and and the browser global version. [#509](https://github.com/KingSora/OverlayScrollbars/issues/509)
+
## 2.1.0
### Bug Fixes
@@ -8,7 +19,7 @@
### Features
-- Introduce `CSS Custom Properties` to improve theming and styling of scrollbars.
+- Introduce `CSS Custom Properties` to improve theming and styling of scrollbars. [#478](https://github.com/KingSora/OverlayScrollbars/issues/478)
### Improvements
diff --git a/packages/overlayscrollbars/README.md b/packages/overlayscrollbars/README.md
index 3144c46..0819ede 100644
--- a/packages/overlayscrollbars/README.md
+++ b/packages/overlayscrollbars/README.md
@@ -22,13 +22,13 @@
I created this plugin because I hate ugly and space consuming scrollbars. Similar plugins haven't met my requirements in terms of features, quality, simplicity, license or browser support.
-## Goals & Features.es6
+## Goals & Features
- Simple, powerful and well documented API
- High browser compatibility - **Firefox 59+**, **Chrome 55+**, **Opera 42+**, **Edge 12+**, **Safari 10+** and **IE 11**
- Can be run on the server - **SSR**, **SSG** and **ISR** support
- Tested on various devices - **Mobile**, **Desktop** and **Tablet**
- - Tested with various (and mixed) inputs - **Mouse**, **touch** and **pen**
+ - Tested with various (and mixed) inputs - **Mouse**, **Touch** and **Pen**
- **Treeshaking** - bundle only what you really need
- Automatic update detection - **no polling**
- Usage of latest browser features - best **performance** in new browsers
@@ -115,7 +115,20 @@ const osInstance = OverlayScrollbars(document.querySelector('#myElement'), {});
If you initialize OverlayScrollbars it needs a few milliseconds to create and append all the elements to the DOM.
While this period the native scrollbars are still visible and are switched out after the initialization is finished. This is perceived as flickering.
-To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (and `html` element if the target element is `body`).
+To fix this behavior apply the `data-overlayscrollbars-initialize` attribute to the target element (or `html` element if the target element is `body`).
+
+```html
+
+
+
+
+
+
+
+
+ OverlayScrollbars is applied to this div
+
+```
### Initialization with an Object
diff --git a/packages/overlayscrollbars/package.json b/packages/overlayscrollbars/package.json
index 8adff7a..606b657 100644
--- a/packages/overlayscrollbars/package.json
+++ b/packages/overlayscrollbars/package.json
@@ -1,7 +1,7 @@
{
"name": "overlayscrollbars",
"private": true,
- "version": "2.1.0",
+ "version": "2.1.1",
"description": "A scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.",
"author": "Rene Haas | KingSora",
"license": "MIT",