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

Removing a Fob triggers a Time Selection Changed Event #5968

Open
rileyajones opened this issue Oct 11, 2022 · 0 comments
Open

Removing a Fob triggers a Time Selection Changed Event #5968

rileyajones opened this issue Oct 11, 2022 · 0 comments
Assignees
Labels
javascript Pull requests that update Javascript code plugin:time-series type:bug

Comments

@rileyajones
Copy link
Contributor

Issue description

This happens because there is click event is bound to the card_fob_component
AND a mousedown event bound to the card_fob_controller_component

Before
image
After
image

Action
07e8d019-69aa-434e-9e42-f05b489222ea

cast.webm
@rileyajones rileyajones added type:bug plugin:time-series javascript Pull requests that update Javascript code labels Oct 11, 2022
@rileyajones rileyajones self-assigned this Oct 11, 2022
rileyajones added a commit that referenced this issue Oct 18, 2022
…b is removed (#5976)

## Motivation for features / changes
#5968

## Technical description of changes
The card fob would dispatch a `timeSelectionChanged` event on mouse up
even if the time selection had not changed...

## Detailed steps to verify changes work correctly (as executed by you)
1) Start tensorboard
2) Go to http://localhost:6006
3) Enable step selection
4) Open the console and clear it
5) Dismiss the fob by clicking this button

![image](https://user-images.githubusercontent.com/78179109/195714210-5f1bee4e-fb1b-4c89-ae24-e6933fa004c0.png)

## Alternate designs / implementations considered
Add a `mousedown` event listener to the dismiss button which prevents
propagation. Unfortunately this would prevent clicks starting on the
dismiss button from dragging the fob.
qihach64 pushed a commit to qihach64/tensorboard that referenced this issue Dec 19, 2022
…b is removed (tensorflow#5976)

## Motivation for features / changes
tensorflow#5968

## Technical description of changes
The card fob would dispatch a `timeSelectionChanged` event on mouse up
even if the time selection had not changed...

## Detailed steps to verify changes work correctly (as executed by you)
1) Start tensorboard
2) Go to http://localhost:6006
3) Enable step selection
4) Open the console and clear it
5) Dismiss the fob by clicking this button

![image](https://user-images.githubusercontent.com/78179109/195714210-5f1bee4e-fb1b-4c89-ae24-e6933fa004c0.png)

## Alternate designs / implementations considered
Add a `mousedown` event listener to the dismiss button which prevents
propagation. Unfortunately this would prevent clicks starting on the
dismiss button from dragging the fob.
yatbear pushed a commit to yatbear/tensorboard that referenced this issue Mar 27, 2023
…b is removed (tensorflow#5976)

## Motivation for features / changes
tensorflow#5968

## Technical description of changes
The card fob would dispatch a `timeSelectionChanged` event on mouse up
even if the time selection had not changed...

## Detailed steps to verify changes work correctly (as executed by you)
1) Start tensorboard
2) Go to http://localhost:6006
3) Enable step selection
4) Open the console and clear it
5) Dismiss the fob by clicking this button

![image](https://user-images.githubusercontent.com/78179109/195714210-5f1bee4e-fb1b-4c89-ae24-e6933fa004c0.png)

## Alternate designs / implementations considered
Add a `mousedown` event listener to the dismiss button which prevents
propagation. Unfortunately this would prevent clicks starting on the
dismiss button from dragging the fob.
dna2github pushed a commit to dna2fork/tensorboard that referenced this issue May 1, 2023
…b is removed (tensorflow#5976)

## Motivation for features / changes
tensorflow#5968

## Technical description of changes
The card fob would dispatch a `timeSelectionChanged` event on mouse up
even if the time selection had not changed...

## Detailed steps to verify changes work correctly (as executed by you)
1) Start tensorboard
2) Go to http://localhost:6006
3) Enable step selection
4) Open the console and clear it
5) Dismiss the fob by clicking this button

![image](https://user-images.githubusercontent.com/78179109/195714210-5f1bee4e-fb1b-4c89-ae24-e6933fa004c0.png)

## Alternate designs / implementations considered
Add a `mousedown` event listener to the dismiss button which prevents
propagation. Unfortunately this would prevent clicks starting on the
dismiss button from dragging the fob.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript Pull requests that update Javascript code plugin:time-series type:bug
Projects
None yet
Development

No branches or pull requests

1 participant