Skip to content

Commit

Permalink
Merge pull request #703 from fabiomcosta/onscroll-doc-ie8-note
Browse files Browse the repository at this point in the history
Adding note about onScroll on IE8
  • Loading branch information
petehunt committed Dec 24, 2013
2 parents 128a35d + 34660ec commit a8216e7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/docs/07-working-with-the-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,16 @@ Other required polyfills:

* `Object.create` – Provided by `es5-sham.js` from [kriskowal's es5-shim](https://github.com/kriskowal/es5-shim).
* `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).


### Cross-browser Issues

Although React is pretty good at abstracting browser differences, some browsers are limited or present quirky behaviors that we couldn't find a workaround.


#### onScroll event on IE8

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.
Currently a handler to this event is ignored on IE8.

See the [onScroll doesn't work in IE8](https://github.com/facebook/react/issues/631) GitHub issue for more information.

0 comments on commit a8216e7

Please # to comment.