Coder Social home page Coder Social logo

Comments (3)

lukasvinclav avatar lukasvinclav commented on June 14, 2024

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.

mjmare avatar mjmare commented on June 14, 2024

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.

lukasvinclav avatar lukasvinclav commented on June 14, 2024

From UX perspective, this problem requires more attention. From my perspective, this issue can be closed.

from django-unfold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.