microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
869 stars 369 forks source link

When deleting an element, the UI refreshes and resets the view position #8745

Open gzenz opened 2 years ago

gzenz commented 2 years ago

Whenever we want to delete anything (response, property, any other dialog modules) or when we click inside the design panel window, the page refreshes and jumps back to the top. Especially if your bot is a bit more complex, this is very anoying as you always have to manually navigate back to the position you've been working on

Version

Release: 2.0.0-test SDK runtime packages 4.12.0

Browser

OS

To Reproduce

Steps to reproduce the behavior:

  1. Open a Bot
  2. Click on 'create'
  3. Scroll down and delete any object
  4. The view will jump to the top again

Expected behavior

The view should stay at the same position, so you can directly continue working.

Screenshots

Additional context

tonyanziano commented 2 years ago

Hi @gzenz,

Thank you for the suggestion. I could definitely see how this would be annoying in bots with large / complex dialog flows.

We will add this to our backlog for tracking.

brendanpatrickmurphy commented 2 years ago

This same behavior occasionally occurs when ctrl-clicking elements faster than the UI can select them, and seemingly sometimes even when you don't click on them that fast. It frequently causes misclicks for me.