Skip to content

Commit a8216e7

Browse files
committed
Merge pull request facebook#703 from fabiomcosta/onscroll-doc-ie8-note
Adding note about onScroll on IE8
2 parents 128a35d + 34660ec commit a8216e7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/docs/07-working-with-the-browser.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,16 @@ Other required polyfills:
126126

127127
* `Object.create` – Provided by `es5-sham.js` from [kriskowal's es5-shim](https://github.com/kriskowal/es5-shim).
128128
* `console.*` – Only needed when using the unminified build. If you need to polyfill this, try [paulmillr's console-polyfill](https://github.com/paulmillr/console-polyfill).
129+
130+
131+
### Cross-browser Issues
132+
133+
Although React is pretty good at abstracting browser differences, some browsers are limited or present quirky behaviors that we couldn't find a workaround.
134+
135+
136+
#### onScroll event on IE8
137+
138+
On IE8 the `onScroll` event doesn't bubbles and IE8 doesn't have an API to define handlers to the capturing phase of an event, meaning there is no way for React to listen to these events.
139+
Currently a handler to this event is ignored on IE8.
140+
141+
See the [onScroll doesn't work in IE8](https://github.com/facebook/react/issues/631) GitHub issue for more information.

0 commit comments

Comments
 (0)