Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decription field problem when selected 'Preview' #100

Open
koufhou opened this issue Dec 6, 2022 · 2 comments
Open

Decription field problem when selected 'Preview' #100

koufhou opened this issue Dec 6, 2022 · 2 comments
Labels

Comments

@koufhou
Copy link

koufhou commented Dec 6, 2022

Hi,

  • When edit the Description field, it appears correctly above the field :
    Description- Edit
  • But when you click on 'Preview', a 2nd unusable text box appears, making the popup too big for the area of ​​the issue and making the buttons inaccessible.
    • Moreover, the first text box in Edit mode and does not swith in 'Preview' mode.
  • Tried on Firefox, and Edge:
    Description- Preview

Environment:
Redmine version: 5.0.3.stable
Ruby version: 3.1.2-p20 (2022-04-12) [x86_64-linux]
Rails version: 6.1.7
Environment : production
Database adapter: PostgreSQL

Redmine plugins:
additionals: 3.0.7
redmine_agile: 1.6.4
redmine_checklists: 3.1.21
redmine_indicator: 0.2.16
redmine_issue_dynamic_edit: 0.8.1
redmine_logs: 0.3.0
redmine_theme_changer: 0.6.0
redmine_x_lightbox2: 1.0.0
redmineup_tags: 2.0.12
view_customize: 3.1.0

Ilogeek added a commit that referenced this issue Dec 27, 2022
@Ilogeek Ilogeek added the bug label Dec 27, 2022
@Ilogeek
Copy link
Owner

Ilogeek commented Dec 27, 2022

Hi @koufhou

Last commit may have fixed your issue. Preview URL has been added
Don't hesitate to come back here if you have any issue with the last update

If you find the plugin helpful, take a minute to star it on Github and rate it 5 stars on http://www.redmine.org/plugins/redmine_issue_dynamic_edit 👍

@koufhou
Copy link
Author

koufhou commented Jan 5, 2023

I @Ilogeek . Sorry for my late response. I updated the plugin

  • On 'Preview' tab, the second textbox show correctly the preview of the 'Edit' textbox

But There is always the problem with the 2 textbox in Preview mode that make the popup too big for the area of ​​the issue and making the buttons inaccessible.

TEST2

At this time, I bypas the problem by modifiying 'issue_dynamic_edit.css' to have the windows below the field:

+ body.controller-issues.action-show .description .dynamicEditField,
  body.controller-issues.action-show .subject .dynamicEditField {
        bottom: initial;
        top:100%;
}

TEST3

The ideal is that the 'Preview' tab only show the previex textbox, not the edit textbox as in other cases in Redmine (edit of comments for example). But I didn't find why there is 2 textbox (edit and preview) in the 'Preview' Tab and not only the preview textbox.

@Ilogeek Ilogeek reopened this Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants