From 874122bad4f0b5f616171cd680ca3b566096c374 Mon Sep 17 00:00:00 2001 From: "Fabio M. Costa" Date: Mon, 23 Dec 2013 16:05:07 -0800 Subject: [PATCH 1/2] Adding note about onScroll on IE8 --- docs/docs/07-working-with-the-browser.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/docs/07-working-with-the-browser.md b/docs/docs/07-working-with-the-browser.md index 50c1c5ab2661c..fd1f3b185aa61 100644 --- a/docs/docs/07-working-with-the-browser.md +++ b/docs/docs/07-working-with-the-browser.md @@ -126,3 +126,15 @@ 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. +[onScroll doesn't work in IE8](https://github.com/facebook/react/issues/631) From 34660eccf9fa0063721e583c1df55f0f5e330a7b Mon Sep 17 00:00:00 2001 From: "Fabio M. Costa" Date: Mon, 23 Dec 2013 16:41:41 -0800 Subject: [PATCH 2/2] updating text as suggested by @petehunt --- docs/docs/07-working-with-the-browser.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/07-working-with-the-browser.md b/docs/docs/07-working-with-the-browser.md index fd1f3b185aa61..7a8bb96c3fa72 100644 --- a/docs/docs/07-working-with-the-browser.md +++ b/docs/docs/07-working-with-the-browser.md @@ -137,4 +137,5 @@ Although React is pretty good at abstracting browser differences, some browsers 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. -[onScroll doesn't work in IE8](https://github.com/facebook/react/issues/631) + +See the [onScroll doesn't work in IE8](https://github.com/facebook/react/issues/631) GitHub issue for more information.