toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
40.57k stars 2.63k forks source link

The ​Equation editing pop-up appears in an unexpected location #8341

Open nihilityer opened 2 hours ago

nihilityer commented 2 hours ago

What happened?

When adding and editing formulas in the first few lines of a document, editing pop ups appear at the position where the formula is added, whether it is a line formula or a block formula. However, when my document exceeds a certain number of lines, the editing pop up seems to appear at the bottom of the screen and even below. Did I use the position of the document line when calculating the pop up position, but did not consider the situation where the number of document lines exceeds the upper limit of the number of lines displayed on a single screen

Distribution version

Web (app.affine.pro)

What browsers are you seeing the problem on if you're using web version?

Chrome

Are you self-hosting?

Relevant log output

NaN

Anything else?

image

affine-issue-bot[bot] commented 2 hours ago

Issue Status: 🆕 *Untriaged

*🆕 Untriaged**

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.