Code Monkey home page Code Monkey logo

Comments (5)

fakefish avatar fakefish commented on August 31, 2024

之前没有设置tab,在本地代码中增加了tab第一选择为textarea 第二为修改按钮,第三为取消,只有一个页面中只打开了一个编辑评论才正常。。有个问题是比如回答页面打开多个修改评论,tab定位肯定会有问题,暂时没找到比较好的方法

from report.

lilydjwg avatar lilydjwg commented on August 31, 2024

看了一下,Google+ 采用的是文档中出现的顺序。GitHub 出现多个撰写区域的时候是行内评论,它使用的是相同的 tabindex 并且「Close form」不接受键盘焦点。

我觉得 SF 可以通过安排元素在文档中出现的顺序来避免显式地指定 tabindex。

from report.

fakefish avatar fakefish commented on August 31, 2024

好的

from report.

fakefish avatar fakefish commented on August 31, 2024

我决定用js控制,在编辑框的时候按tab键就focus到提交的按钮,之后就靠自身顺序来tab

from report.

Integ avatar Integ commented on August 31, 2024

评论的编辑暂时被干掉了。

from report.

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.