# react-input-fixer

> Provides a workaround for phantom blur/focus events for HTML inputs in Safari MacOS.

Latest version **1.0.3** (published 2017-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-input-fixer
pnpm add react-input-fixer
yarn add react-input-fixer
bun add react-input-fixer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-11-28 |
| First published | 2017-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Chris Lienert |
| Maintainers | cliener |
| Keywords | safari, input, fix, events |

## Links

- npm: https://www.npmjs.com/package/react-input-fixer
- Repository: https://github.com/cliener/input-fixer
- Homepage: https://github.com/cliener/input-fixer/react#readme
- Issues: https://github.com/cliener/input-fixer/issues
- npm.io page: https://npm.io/package/react-input-fixer

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-11-28
- 1.0.2 — 2017-11-27
- 1.0.1 — 2017-11-27
- 1.0.0 — 2017-11-27

## README

# react-input-fixer for React

[![npm version](https://badge.fury.io/js/react-input-fixer.svg)](https://badge.fury.io/js/react-input-fixer)

Provides a workaround for phantom blur/focus events for HTML inputs in Safari MacOS. The bug this code fixes is described in a [WebKit bug/Radar](https://bugs.webkit.org/show_bug.cgi?id=179990) and [React bug](https://github.com/facebook/react/issues/10871).

For details of the original problem and code, see the [Vanilla JS version](../).

## Usage

The `<FixedInput ... />` directly replaces a regular `<input ... />` and fixes Safari's event mangling.


```
import FixedInput from './FixedInput'

…
  render() {
    return <FixedInput ... />
  }
…

```

---
_Source: https://npm.io/package/react-input-fixer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
