Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Update observable-dom.js
Browse files Browse the repository at this point in the history
Summary:
This should fix the following issue reports:

#1379
#1500
Closes #1501

Reviewed By: matthewwithanm

Differential Revision: D7691510

Pulled By: captbaritone

fbshipit-source-id: 100f923fee4fd7626a52075eeaf4144ba14fe468
  • Loading branch information
Jack authored and facebook-github-bot committed Apr 24, 2018
1 parent 1a5ac40 commit 5a6e082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nuclide-commons-ui/observable-dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export class ResizeObservable extends DOMObserverObservable<
'environment must contain ResizeObserver',
);

if (os.platform() === 'win32') {
if (os.platform() === 'win32' || os.platform() === 'linux') {
super(WindowsResizeMeasurementPatchingObserver, target);
} else {
// $FlowFixMe(>=0.55.0) Flow suppress
Expand Down

0 comments on commit 5a6e082

Please sign in to comment.