-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[API Bug] Jumping Caret in Form.TextField and Form.TextArea #60
Labels
api
Issues related to API
bug
Something isn't working
status: fixed in next release
The issue will be closed once next release is available
Comments
Good catch! Thanks, we will fix it soon |
solomkinmv
added a commit
to solomkinmv/raycast-extensions
that referenced
this issue
Sep 18, 2024
- Update changelog - Minor refactoring - Extract exitWithMessage to separate file - Remove hostname hook - Ignore www subdomain - Improve error handling for web shortcuts - Move keymap operations to ShortcutsList - Extract ShortcutsList to separate file - Extract KeymapDropdown to separate file - Extract shortcut formatter to separate file - Extract baseKeySymbolOverride to separate file - Add basic support for web app shortcuts - Bump next from 14.1.1 to 14.2.12 in /shortcuts-disco-site - Add web app hostname for Fastmail - Use chokidar for shortcut file watching during development. Rewrite combine-apps in Node.js. - Add a watcher that can prettify and combine JSON files on each source file edit. Make this run in combination with \`next dev\`, which already has its own file watcher. - Lock down the node version 20, remove unused ts-node - Bump micromatch from 4.0.5 to 4.0.8 in /shortcuts-disco-site - Add shortcuts for SQLPro Studio (through SetApp) - Add shortcuts for Figma - Add shortcuts for Postman - Remove newlines in some .json files to align with prettify.ts output - Fix FreshRSS favorite toggle shortcut - Extend Firefox shortcuts - Extend Notion shortcuts - Add shortcuts for Signal - Add shortcuts for Spotify - Update root readme - Add shortcuts for Discord - Add shortcuts for FreshRSS - Remove duplicated shortcut - Add shortcuts for Numbers - Add shortcuts for OmniFocus 4 - Add shortcuts for OmniFocus3 - Bump braces from 3.0.2 to 3.0.3 in /shortcuts-raycast-extension - Bump ws from 8.16.0 to 8.17.1 in /shortcuts-disco-site - Fix Pixelmator Pro bundle id - Update README with new prettify script - Prettify shortcut files - Add shortcuts prettier script - Reformat 1Password shortcuts - Initial Pixelmator Pro shortcuts - Bump next from 14.1.0 to 14.1.1 in /shortcuts-disco-site - Update single app title and description metadata - Add header - Fix case raycast#60 - Spline - Update links to GitHub repo - Add VCS shortcuts section for IntelliJ IDEA - Update manifest and metadata description - Add Toggle Full Screen from MacOS - Fix sitemap for about page - Add opengraph and twitter images - Rebrand for Hotkys
raycastbot
pushed a commit
that referenced
this issue
Sep 19, 2024
* Update shortcuts-search extension - Update changelog - Minor refactoring - Extract exitWithMessage to separate file - Remove hostname hook - Ignore www subdomain - Improve error handling for web shortcuts - Move keymap operations to ShortcutsList - Extract ShortcutsList to separate file - Extract KeymapDropdown to separate file - Extract shortcut formatter to separate file - Extract baseKeySymbolOverride to separate file - Add basic support for web app shortcuts - Bump next from 14.1.1 to 14.2.12 in /shortcuts-disco-site - Add web app hostname for Fastmail - Use chokidar for shortcut file watching during development. Rewrite combine-apps in Node.js. - Add a watcher that can prettify and combine JSON files on each source file edit. Make this run in combination with \`next dev\`, which already has its own file watcher. - Lock down the node version 20, remove unused ts-node - Bump micromatch from 4.0.5 to 4.0.8 in /shortcuts-disco-site - Add shortcuts for SQLPro Studio (through SetApp) - Add shortcuts for Figma - Add shortcuts for Postman - Remove newlines in some .json files to align with prettify.ts output - Fix FreshRSS favorite toggle shortcut - Extend Firefox shortcuts - Extend Notion shortcuts - Add shortcuts for Signal - Add shortcuts for Spotify - Update root readme - Add shortcuts for Discord - Add shortcuts for FreshRSS - Remove duplicated shortcut - Add shortcuts for Numbers - Add shortcuts for OmniFocus 4 - Add shortcuts for OmniFocus3 - Bump braces from 3.0.2 to 3.0.3 in /shortcuts-raycast-extension - Bump ws from 8.16.0 to 8.17.1 in /shortcuts-disco-site - Fix Pixelmator Pro bundle id - Update README with new prettify script - Prettify shortcut files - Add shortcuts prettier script - Reformat 1Password shortcuts - Initial Pixelmator Pro shortcuts - Bump next from 14.1.0 to 14.1.1 in /shortcuts-disco-site - Update single app title and description metadata - Add header - Fix case #60 - Spline - Update links to GitHub repo - Add VCS shortcuts section for IntelliJ IDEA - Update manifest and metadata description - Add Toggle Full Screen from MacOS - Fix sitemap for about page - Add opengraph and twitter images - Rebrand for Hotkys * Fix lint * Add description for each command
Parajulibkrm
added a commit
to Parajulibkrm/raycast-extensions
that referenced
this issue
Nov 9, 2024
- initial features - Merge pull request raycast#103 from axyut/port-to-oslo - fix: expire session conditional - feat: completely removed lucia-auth dependency - minor changes - fix: 🐛 no day selection on !isSameMonth - feat: ✨ internal package for query - feat: ✨ types package - fix: minor - refactor - deps: change nepali date package - backend: auth, google calendar integration - Basic UI components - minor fixes - Added raycast initial - feat: ✨ Migrated to v51 for expo - initial commit - added gitignore - ignore turbo - Added gitignores - cleanup - feat: ✨ Added announcement - typo - fix: 💄 view all events button not spanning full width - chore: bump date package version - fix: set fixed height of day cells - Merge pull request raycast#64 from nabinkdl/main - Update About.tsx - Merge pull request raycast#60 from pandeysubash404/event-display - Merge pull request raycast#61 from yuvrajdahal/main - Merge pull request raycast#63 from PoskOfficial/fix/issue62 - fix: 🐛 app crashing on switching months - Synchorization issue with previous code - English date converter crashing fixed - English date converter crashing fixed - fix: 🚑 Update user logic on signin bug fix - Updated to display today\'s date - fix: 🐛 Update db information on sign in - Merge pull request raycast#59 from pandeysubash404/event-display - chore: 🐛 Fixed Positioning of Relative Date on Homepage - chore: ♻️ Made the event string logic declarative - conveys the logic in a more declarative manner - adjustments to the relativeTimeFromElapsed function - fixed event issue and hide user data from console - Fixed the issue related event display - Merge pull request raycast#57 from pandeysubash404/fix-date-issue - chore: ➖ Removed Jest Dev Dependency - Removed package-lock.json and added pnpm-lock.yaml as requested - Remove pnpm dependency as requested by repository owner - Fix date issue in input field - Changed readme - Create LICENSE - Updated type definitions - Merge pull request raycast#52 from nabin-kandel/main - Merge branch \'PoskOfficial:main\' into main - chore: ✨ updated screenshots - ScreenShot Updated - Merge pull request raycast#50 from PoskOfficial/develop - fix: 🐛 page reloading in mobile view - Merge pull request raycast#49 from nabin-kandel/main - Added Open graph Description - Update Readme.md - Added og image - Merge pull request raycast#48 from nabin-kandel/main - Added banner image - Merge pull request raycast#47 from PoskOfficial/fix_create_event_date - style: 💄 changed footer border color - fix: 🐛 event end and start date off by 1 - Added missing lock files - Added missing lock files - Merge pull request raycast#46 from PoskOfficial/develop - chore: ✏️ updated translation values - chore: ⚰️ removed unused translations - feat: ✨ added footer - moved imports - Deleted large file - Added update logic - chore: 🚧 Added new SW - Merge pull request raycast#45 from PoskOfficial/datepicker_fix - style: 💄 fixed spinner\'s wrong positioning - fix: 🐛 month date picker value offset by -1 - fix: 🐛 corrected photo url - fix: 🐛 Fixed User Query issue - fix: 🐛 - feat: 🐛 Added offline support to react query - Added calendar picker to event creation modal - fix: 🐛 Fixed width issues in homepage - Removed unused param - Made time field required - fix: 🐛 Removed unnecessary console logs - fix: 🐛 Fixed some UI Bugs - Added missing adhik to english translation of chandrama - fix: ⚰️ Removed redundant code - fix: 🐛 Fixed Spinner Size - perf: ⚡ Refactored for performance and readability - Merge pull request raycast#43 from PoskOfficial/dark_mode - style: 💄 added dark mode to the event dialogue - feat: ✨ Added Analytics to install btn - feat: ✨ added access role to events - feat: ✨ Added endpoint to get calendar list - Merge pull request raycast#42 from PoskOfficial/dark_mode - fix: 💚 fixed build removing unused imports - Merge branch \'main\' into dark_mode - feat: ✨ added styles for dark mode - feat: ✨ Added support for multiple calendars on backend - feat: ✨ Added Analytics - Merge pull request raycast#41 from PoskOfficial/nischal - Merge branch \'nischal\' of https://github.com/PoskOfficial/Nepali-calendar-web into nischal - fix: 🐛 fixed minor bug during language translation in dropdown - fix language issue - Merge remote-tracking branch \'origin/main\' into - changes in translation files - js to ts file - Removed unused files - Merge remote-tracking branch \'origin/main\' into nischal - feat: ✨ Stored Dark Mode setting in local storage - spinner in upcoming events page - hide language change buttons - feat: 🚧 added date difference string to single upcoming event, and setup language translation for date converter page - Fixed ts issues in i18next - Fixed Hamburger color - Added Dark Mode Strategy to tailwind - Refactored - Bug fixes - Added contact details in about page - feat: ✨ Added credits in About Page - bug fixes - docs: 📝 Changed translation of Home - fix: 🐛 Fixed Crash on clear - Merge pull request raycast#40 from PoskOfficial/user_settings_disclosure - refactor: ♻️ used higher quality icon for sign in with google - refactor: ♻️ used sign in with google icon instead of text - feat: ✨ added a disclosure to switch languages - Added missing lock file - Merge branch \'main\' of https://github.com/PoskOfficial/Nepali-calendar-web - Added about page - fix: ✨ Increased cookie life - Merge pull request raycast#39 from PoskOfficial/nischal - refactor: 🚚 moved useLanguage to helper and renamed useUser - fix: 💚 removed unused imports, changed useLangauge name - Merge remote-tracking branch \'origin/main\' into nischal - feat: 🚧 added uselangauge hook, - calendar date , reminder text and upcoming - Merge pull request raycast#38 from poudelsanchit/main - Merge branch \'main\' into pr/poudelsanchit/38 - Fix some linting errors - fix: 🐛 Fixed no update on logout - feat: ✨ Added Install Toaster Popup - feat: ✨ Add PWA Install Button - Added app shortcuts - feat: ✨ Added Screenshots on install screen - feat: 🐛 Added support for offline first in react query - feat: ✨ DateConverter - feat: ✨ Cached api response - fix: 🐛 Fixed No event fetched on month change - Bug fixes - Merge pull request raycast#37 from PoskOfficial/add_react_query - fix: 🩹 checked for loading state for rendering events list - fix: ⚰️ removed unused imports - Merge branch \'main\' into add_react_query - fix: 🐛 off by 1 error in chandrama - feat: ✨ added react query - Added new logo - feat: 🚧 progressed with the feature - docs: 📝 Added Fork and setup instructions - feat: 🚧 language translation - Merge pull request raycast#36 from PoskOfficial/feat_nepali_date_picker - Merge branch \'main\' into feat_nepali_date_picker - fix: 🐛 next month to the selection being selected - Merge branch \'feat_nepali_date_picker\' of github.com:PoskOfficial/Nepali-calendar-web into feat_nepali_date_picker - fix: 🐛 end and start time, timezone error - added node modules to gitignore - Merge pull request raycast#35 from PoskOfficial/nischal - Merge branch \'main\' into nischal - added gitignore - chore: Added single command to install both frontend and backend - feat: ✨ added nepali date picker - feat: ✨ added a popup modal for each reminder - popup modal for single event - Merge pull request raycast#34 from PoskOfficial/google_cal_compatible - refactor: ♻️ made start and end date logic declarative - fix: 🐛 multi day all day events not showing up - Merge remote-tracking branch \'origin/main\' into nischal - feat: 🚧 events popup - feat: ✨ event date time compatible with google calendar - feat: ✨ Added Delete Event Route - feat: ✨ Added event background sync - Merge pull request raycast#14 from PoskOfficial/nischal - fixes in calendar.tsx - feat: ✨ Added event color dot - Added Event Creation and List - feat: ✨ Fetched Event List from backend - Added build step to docs - docs: 📝 Added Readme - added lib to gitignore - feat: 🌱 Added missing files - Added deta space configuration - Merge branch \'main\' of https://github.com/Parajulibkrm/calendar-backend - moved to backend folder - moved files to frontend/ - feat: ✨ Added Google Authentication - feat: ✨ Added Privacy Policy - Merge pull request raycast#13 from nirajacharyaa/main - Merge branch \'main\' into main - fix: 🐛 Escaped APi Route from Client side cache - feat: ✨ Changed hashrouter to browserrouter - Fixed auth links cache issue - fix: 🐛 upcoming events and minor styles - Added Sign In - Styling bug fixes - Added a navbar - Merge pull request raycast#12 from nirajacharyaa/view-added-events - fix: 💚 build fix - feat: ✨ user events modal and view events - added .env to giitignore - initial commit - refactor: 🔥 Removed image for floating action button - Merge pull request raycast#11 from PoskOfficial/popupmodal - Reminder popup modal for indivdual day - Merge branch \'main\' of https://github.com/PoskOfficial/Nepali-calendar-web - added reminder popup - feat: 🐛 fixed off by one error - feat: ✨ Added upcoming events page. credit: @headshigh - feat: ✨ Added Multiple Event List for each day - Merge pull request raycast#10 from PoskOfficial/pwa-setup - chore: 🐛 Fixed PWA issue - chore: ✨ Added PWA configuration - Merge pull request raycast#8 from nirajacharyaa/load_calendar_data - fix: 🐛 Bug Fixes - fix: minor changes - Update issue templates - Update issue templates - Revert "Merge branch \'main\' into load_calendar_data" - Merge branch \'main\' into load_calendar_data - fix: events dots - minor fixes - Bug fixes - fix: 🐛 Fixed off by one error - memoized - set selected day to today - Merge pull request raycast#7 from PoskOfficial/nischal - ts error fix - lockfileversion - improvements - chore: loaded calendar data - upcoming events page incomplete - Merge branch \'main\' of https://github.com/PoskOfficial/Nepali-calendar-web - chore: 🍱 Added Calendar Files - Update issue templates - fixed type warnings - chore: 🎉 Initial Commit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api
Issues related to API
bug
Something isn't working
status: fixed in next release
The issue will be closed once next release is available
Raycast version: Version 1.25.0
Description
When entering text in a controlled
Form.TextField
orForm.TextArea
with the caret in any position but the last of the string, the caret jumps to the last position of the string.Steps To Reproduce
Form.TextArea
orForm.TextArea
with their respective values bound to a variable using theuseState
hook like in the examples.I also made small GIF to illustrate the issue
as well as a sample extension which you can find in this repo. Also, the bug is reproducible with both the controlled
Form.TextField
example and uncontrolledForm.TextArea
example (which is probably mixed up and should be the controlled example) in your documentation. Also, here is the code of the sample extension (which is also shown in the GIF):The current behavior
It is not possible to enter text anywhere but at the end of the string. Probably because the caret position gets reset everytime the value is updated.
The expected behavior
It should be possible to enter text anywhere in the
Form.TextField
orForm.TextArea
.The text was updated successfully, but these errors were encountered: