Comments (3)
Hi, good idea with cursor at the end but we see some limitations. When you want to put a cursor at the end of the input on autofocus, you have to use onFocus attribute on input element. So far so good, it works on first load, but what if you loose the focus on this element and then you click with your mouse in the middle of the written text (new focus)? Your cursor will be moved back at the end. Here you have an example what I'm thinking about https://jsfiddle.net/6jx9ufr1/ But maybe there is some clean solution which we are not aware.
Regarding the reset button for search element, that area with search input, actions, counter with selected rows and filters is pretty crowded. It would require some layout changes or some nice transition. Again, we are open to see some ideas how this problem can be solved.
from django-unfold.
The example does not work on Safari, if the intent is to have the control have focus on page load. Nor does it move the cursor to the end when tapping in the middle of the text. I'm testing this on an iPad ATM. But I may misunderstand your intention.
from django-unfold.
From UX perspective, this problem requires more attention. From my perspective, this issue can be closed.
from django-unfold.
Related Issues (20)
- ManyToMany form field is not scrollable HOT 1
- Horizontal scroll issue in iPhone/mobile devices (mobile responsive issue) HOT 2
- How-to: Override djang-celery-beat fields to match unfold theme
- Validation Error Placement for List Editable Fields
- Django authorisation accounts/password_change working, but accounts/password_reset not.
- Import/Export field not displaying well. HOT 1
- Admin GenericStackedInline and GenericTabularInline fields are not styled HOT 1
- Dashboard compontent data disappear by switching tabs
- Custom User Change Password Form Issue HOT 1
- Multiple Admin Error HOT 7
- BUG: Inline Form Dropdown Icons Alignment HOT 2
- autocomplete based on another field HOT 4
- Project level Tailwind stylesheet override causing dark coloring issues on mac. HOT 1
- How to donate?
- The borders of the input boxes are transparent
- Fixed filter in UI HOT 1
- [FeatAdd Favicon feature
- [Feat] Add Favicon feature
- ExportForm missing Resource & Checkbox List of Fields HOT 6
- Export Data isn't working anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-unfold.