Skip to content

3265 - Fix 'Upload Sample Output Data' window#3310

Merged
kresimir-coko merged 1 commit intomasterfrom
3265
Oct 20, 2025
Merged

3265 - Fix 'Upload Sample Output Data' window#3310
kresimir-coko merged 1 commit intomasterfrom
3265

Conversation

@petrapaz
Copy link
Copy Markdown
Collaborator

@petrapaz petrapaz commented Oct 20, 2025

Problem:

  • The editor seems to have inconsistent click behavior - it works when there's example code but becomes unresponsive when you try to type after clearing the content.

Solution:

  • Fix the click issue in the JSON editor by making the placeholder overlay non-interactive
    --> The issue is that the placeholder div is positioned absolutely over the Monaco editor and is blocking mouse clicks. When there's content in the editor, the placeholder is hidden (display: none), but when the editor is empty, the placeholder is shown (display: block) and it's intercepting all mouse clicks.
    The solution is to make the placeholder div non-interactive by adding pointer-events: none to its CSS.
    --> add tailwind class: pointer-events-none
  • Test the editor behavior to ensure clicks work properly in multiple scenarios
    screen-capture (5).webm

Fixes #3265

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'client'

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@kresimir-coko kresimir-coko merged commit f135c11 into master Oct 20, 2025
6 of 7 checks passed
@kresimir-coko kresimir-coko deleted the 3265 branch October 20, 2025 17:49
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

Successfully merging this pull request may close these issues.

[bug]: Upload Sample Output Data window sometimes wont type

2 participants