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

[5.5.0] Code Editor Indicates It Has Focus When It Does Not #51

Open
GuyPaddock opened this issue Mar 26, 2018 · 0 comments
Open

[5.5.0] Code Editor Indicates It Has Focus When It Does Not #51

GuyPaddock opened this issue Mar 26, 2018 · 0 comments

Comments

@GuyPaddock
Copy link

Affected Versions

Summary

When you open any code editor modal, the code editor contains a blinking text cursor that is indicating to the user that the code entry box has focus, even when it does not have focus. This is frustrating when you start to type and find that your input is not going to the right place.

Steps to Reproduce

  1. Start OpenIDM with any project that has mappings (e.g. the "Getting Started" sample project).
  2. Navigate to http://localhost:8080/admin/
  3. Navigate to Configure -> Mappings.
  4. Click the "Edit" button on any mapping.
  5. Click on any property mapping to open the edit modal.
  6. Switch to the "Transformation Script" tab.
  7. Examine the "Inline Script" field.
  8. Start typing text.

Expected Results

In step 7, the "Inline Script" field should not have a blinking cursor unless it actually has focus.

Actual Results

  • In step 7, the "Inline Script" field displays a blinking cursor despite the fact that the "Type" field actually has focus:
    image
  • In step 8, the text you type goes to the "Type" field. The "Inline Script" field continues to display a flashing cursor despite no text appearing there.

Additional Information

The field only behaves like this upon first entry into the modal for a given property mapping. Once the field has focus, if you move focus to another field on the page, it no longer displays the flashing cursor. Unfortunately, you are usually going into the modal for quick edits, which greatly increases the chances you will encounter this issue since it appears each time the modal is opened.

@GuyPaddock GuyPaddock changed the title [5.5.0] Code Editor Indicates it Has Focus When it Does Not [5.5.0] Code Editor Indicates It Has Focus When It Does Not Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant