Logo
Explore Help
Sign In
Jayden/AFFiNE-Mirror
1
0
Fork 0
You've already forked AFFiNE-Mirror
mirror of https://github.com/toeverything/AFFiNE.git synced 2026-02-12 12:28:42 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
1a8bbc695191f726f46c3e0510750c1ed4e53f96
AFFiNE-Mirror/packages
History
L-Sun 1a8bbc6951 fix: ask ai panel not auto flip (#7284)
Close [AF-928](https://linear.app/affine-design/issue/AF-928/ask-ai-%E5%87%BA%E7%8E%B0%E5%9C%A8%E5%BA%95%E9%83%A8%E7%9A%84%E6%97%B6%E5%80%99-menu-%E5%BC%B9%E5%87%BA%E4%BD%8D%E7%BD%AE%E4%B8%8D%E5%AF%B9)

The CSS rule for portal content uses `position: absolute` which causes the portal size to become zero. As a result, the `computePosition` function returns incorrect results.

Before:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/5ae1d556-d818-42d4-a84c-ee5531015182.png)

After:
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/a61c47bc-541a-499a-8f20-3b3dd03b4e1d.png)
2024-06-20 07:33:25 +00:00
..
backend
feat(server): allow customize server external url (#7270)
2024-06-19 12:03:36 +00:00
common
chore(core): delete center peek feature flag (#7281)
2024-06-20 04:24:47 +00:00
frontend
fix: ask ai panel not auto flip (#7284)
2024-06-20 07:33:25 +00:00
Powered by Gitea Version: 1.25.3 Page: 45ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API