**My requirement:** when `pageSize` changes (with `onShowSizeChange`), reset the `current` to 1, instead of preserving the `current` (like the default behavior). How to do that with [Ant Design `Pagination`](https://ant.design/components/pagination/)?

E.g: I'm in `pageSize=10,current=2`, when changing `pageSize` from 10 to 20, I want `current` to be reset to 1, instead of still being 2.

My code:

```
function App() {
  const [current, setCurrent] = React.useState(1);

  return (
    <Pagination
      current={current}
      onChange={setCurrent}
      showSizeChanger={true}
      onShowSizeChange={() => setCurrent(1)}
      total={1000}
    />
  );
}

```

[CodeSandbox](https://codesandbox.io/s/basic-antd-4-17-0-alpha-7-forked-yd9r7)