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

fix: accept button stays disabled when zoom is different from 100% #155

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

dan-ziv
Copy link
Collaborator

@dan-ziv dan-ziv commented Apr 14, 2022

Description of the Changes

Solution: check for scrollTop + clientHeight >= scrollHeight and round-up the result instead of scrollTop + clientHeight === scrollHeight

Checklist

  • Changes have been done against master branch, and PR does not conflict
  • New unit / functional tests have been added (whenever applicable)
  • Test are passing in local environment
  • Docs have been updated
  • PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is Reviewable

@dan-ziv dan-ziv merged commit de7f6d0 into dev Apr 14, 2022
@dan-ziv dan-ziv deleted the fix/accept-button branch April 14, 2022 08:27
dan-ziv pushed a commit that referenced this pull request Apr 14, 2022
 ## [1.2.0-dev.2](v1.2.0-dev.1...v1.2.0-dev.2) (2022-04-14)

### 🔧 Fixes

* accept button stays disabled when zoom is different from 100% ([#155](#155)) ([de7f6d0](de7f6d0))
* app crashed when trying to connect while ArgentX wasn't installed ([e8c4e63](e8c4e63))
* **Faq:** update question 8  ([#149](#149)) ([84acc20](84acc20))
* unsupported chain id does not showing  ([#151](#151)) ([83a6f87](83a6f87))
dan-ziv pushed a commit that referenced this pull request Apr 14, 2022
 ## [1.2.0-dev.2](v1.2.0-dev.1...v1.2.0-dev.2) (2022-04-14)

### 🔧 Fixes

* accept button stays disabled when zoom is different from 100% ([#155](#155)) ([de7f6d0](de7f6d0))
* app crashed when trying to connect while ArgentX wasn't installed ([e8c4e63](e8c4e63))
* **Faq:** update question 8  ([#149](#149)) ([84acc20](84acc20))
* unsupported chain id does not showing  ([#151](#151)) ([83a6f87](83a6f87))
dan-ziv pushed a commit that referenced this pull request Apr 14, 2022
 ## [1.2.0-dev.2](v1.2.0-dev.1...v1.2.0-dev.2) (2022-04-14)

### 🔧 Fixes

* accept button stays disabled when zoom is different from 100% ([#155](#155)) ([de7f6d0](de7f6d0))
* app crashed when trying to connect while ArgentX wasn't installed ([e8c4e63](e8c4e63))
* **Faq:** update question 8  ([#149](#149)) ([84acc20](84acc20))
* unsupported chain id does not showing  ([#151](#151)) ([83a6f87](83a6f87))
@dan-ziv dan-ziv restored the fix/accept-button branch April 14, 2022 08:42
@dan-ziv dan-ziv deleted the fix/accept-button branch April 14, 2022 09:02
@dan-ziv dan-ziv restored the fix/accept-button branch April 14, 2022 10:19
@dan-ziv dan-ziv deleted the fix/accept-button branch April 14, 2022 10:20
@dan-ziv dan-ziv restored the fix/accept-button branch September 6, 2022 11:17
@dan-ziv dan-ziv deleted the fix/accept-button branch September 6, 2022 11:17
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.

1 participant