Fix#331
It is ensured that the scroll offset remains consistent during parent
container resizing, preventing the cursor from being forced back into
view unless the user interacts with the input, providing a more
consistent user experience in scenarios where automatic scrolling during
resizing is undesirable.
This behavior aligns with common text editors and input fields where
resizing the window doesn't force the cursor back into view.

As discussed in #359 adds a `AppContext` argument to the
`table::TableDelegate::rows_count` method
---------
Co-authored-by: Julien Leclercq <julien-leclercq@users.noreply.github.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
Optimization of https://github.com/longbridgeapp/gpui-component/pull/329
The issue with the initial width of the Panel has been optimised to
ensure that the left side of a Panel combination like [Some(px(510.)),
None] is initially rendered with a width of 510px.
---------
Co-authored-by: Jason Lee <huacnlee@gmail.com>
Bumps [wry](https://github.com/huacnlee/wry) from `7f2f270` to
`7093dd3`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7093dd3c82"><code>7093dd3</code></a>
Add doc to method</li>
<li>See full diff in <a
href="7f2f270e7b...7093dd3c82">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [gpui](https://github.com/huacnlee/zed) from `82314ac` to
`fa2a060`.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fa2a06028c"><code>fa2a060</code></a>
gpui: Export raw_window_handle for wry to render WebView, and with a
WebView ...</li>
<li><a
href="ec5d6e96bb"><code>ec5d6e9</code></a>
Make <code>danger</code> to output less false-positives (<a
href="https://redirect.github.com/huacnlee/zed/issues/19151">#19151</a>)</li>
<li><a
href="54683ff2b9"><code>54683ff</code></a>
docs: Fix typo in environment documentation (<a
href="https://redirect.github.com/huacnlee/zed/issues/19164">#19164</a>)</li>
<li><a
href="cdead5760a"><code>cdead57</code></a>
docs: Formatter arguments, document <code>{buffer_path}</code> usage (<a
href="https://redirect.github.com/huacnlee/zed/issues/19156">#19156</a>)</li>
<li><a
href="39468de8c6"><code>39468de</code></a>
Return back to history-based tabs activation on close (<a
href="https://redirect.github.com/huacnlee/zed/issues/19150">#19150</a>)</li>
<li><a
href="6491148196"><code>6491148</code></a>
Fail on warnings during CI builds (<a
href="https://redirect.github.com/huacnlee/zed/issues/19149">#19149</a>)</li>
<li><a
href="0b10fd5098"><code>0b10fd5</code></a>
cpp: Better icon support (<a
href="https://redirect.github.com/huacnlee/zed/issues/19146">#19146</a>)</li>
<li><a
href="74cc90887a"><code>74cc908</code></a>
ci: Give names to all github actions (<a
href="https://redirect.github.com/huacnlee/zed/issues/19080">#19080</a>)</li>
<li><a
href="875c0cb09f"><code>875c0cb</code></a>
Bytes 1.7.2 merge fix (<a
href="https://redirect.github.com/huacnlee/zed/issues/19145">#19145</a>)</li>
<li><a
href="aefc559f43"><code>aefc559</code></a>
Improve auto-detection via shebang of TypeScript, JavaScript and Shell
Script...</li>
<li>Additional commits viewable in <a
href="82314ac099...fa2a06028c">compare
view</a></li>
</ul>
</details>
<br />
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>