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

Empty hydrophobicity scale defaults to last value, but box remains empty after tabbing out of entry box and sliders out-of-sync #563

Open
mebh opened this issue Dec 13, 2024 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right Low Priority/Not Needed for Paper Website

Comments

@mebh
Copy link

mebh commented Dec 13, 2024

Example case:

  1. Go to the hydrophobicity box and backspace until it is empty. The hydrophobicity scale then defaults to last entered value, though the box remains empty.
  2. Press Tab to move out of the hydrophobicity box. The hydrophobicity box remains empty, although the setting used in the tracks is the last value.
  3. Note that when the box is empty, the slider bar reflects a value of 0.5, regardless of whatever the last value used. Thus you get a discrepancy between the slider bar value and the value reflected in the blobulated tracks.

Expected behavior: Once the user Tabs out of the entry box, if the box is empty, then it should fill in the default value being used and the slider bar should reflect this.

In this example below, I first set the hydrophobicity value to 0.3, and the tracks blobulate. Then I delete the hydrophobicity value in the entry box, and then tab out of it. This results in a state where the entry box is empty, slider bar reflects a value of 0.5, but the tracks are blobulated to a value of 0.3...

Screenshot 2024-12-13 at 4 11 03 PM
@mebh mebh added bug Something isn't working invalid This doesn't seem right Low Priority/Not Needed for Paper Website labels Dec 13, 2024
@mebh mebh changed the title Empty hydrophobicity scale defaults to 0.5 but box remains empty after tabbing out of entry box Empty hydrophobicity scale defaults to last value, but box remains empty after tabbing out of entry box and sliders out-of-sync Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right Low Priority/Not Needed for Paper Website
Projects
None yet
Development

No branches or pull requests

1 participant