プロジェクト

全般

プロフィール

Vote #81815

未完了

context-menu on task

Admin Redmine さんがほぼ4年前に追加. ほぼ4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
0
issue_org_id:
36574
author_id:
49905
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[New]

説明

Hello,

context-menu on right click on roadmap's or issues's page can be display in wrong place on Firefox browser (no problem on Chrome).

It's just because the div context-menu is append on content's div

On context-menu.js

document.getElementById("content").appendChild(menu);

need to be change. For example :

document.getElementById("footer").parentElement.appendChild(menu);

But it's need to be append to a full page DIV.

Thanks


journals

It's linked to the theme used (we use PurpleMine)

And they add this code :

<pre>
// Fix issue with context menu position
if (this.$main.css('position') === 'relative') {
$(window).on('load', function () {
$('#context-menu').appendTo('#wrapper3')
})
}
</pre>

It's work on Chrome but not on Firefox.
--------------------------------------------------------------------------------
I have also seen in the past how the context menu was misplaced.

I just opened the roadmap page and the issues page in Firefox to see how it works, and I was able to open them in the context menu without any problems. Do you know of any other conditions that might reproduce the problem?
Since I don't know the conditions under which the problem occurs, I can't confirm that the code works.
--------------------------------------------------------------------------------
Could be related to "Graphical bug with redmine 4.2.3":https://github.com/mrliptontea/PurpleMine2/issues/242 ?
We use PurpleMine2 with redmine 4.1.X and couldn't reproduce the error.
--------------------------------------------------------------------------------
Yes i think it's related to this bug (i'm on redmine 4.2.4)
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ4年前に更新

  • カテゴリUI_10 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0