Bug Description: On mobile layouts, if the page is scrolled enough that the color wheel is still visible, the color picker will move under the inputted position.
How To Replicate: Switch to the mobile layout, scroll the page down and click/tap on anywhere on the color wheel to move the picker.
Expected output: Picker moves to the clicked/tapped position.
Actual output: Picker moves below the clicked/tapped position.
Fix: Add the y-scroll of the page to the offset calculations.
Palette Import Bug
Bug Description: When importing a palette from a code, the color picker will not move to the correct position.
How To Replicate: Export a palette via code, move the picker and import the previous palette using the code.
Expected output: Picker moves to the position of the main color.
Actual output: Picker stays where it was previously.
Fix: Call the correct method during the import process.
Y-Scroll Bug
Bug Description: On mobile layouts, if the page is scrolled enough that the color wheel is still visible, the color picker will move under the inputted position.
How To Replicate: Switch to the mobile layout, scroll the page down and click/tap on anywhere on the color wheel to move the picker.
Expected output: Picker moves to the clicked/tapped position.
Actual output: Picker moves below the clicked/tapped position.
Fix: Add the y-scroll of the page to the offset calculations.
Palette Import Bug
Bug Description: When importing a palette from a code, the color picker will not move to the correct position.
How To Replicate: Export a palette via code, move the picker and import the previous palette using the code.
Expected output: Picker moves to the position of the main color.
Actual output: Picker stays where it was previously.
Fix: Call the correct method during the import process.