Coder Social home page Coder Social logo

Comments (6)

pateldivyesh1323 avatar pateldivyesh1323 commented on June 9, 2024 3

@matheusfm

  • The hover effect does not work correctly, because when the cursor moves on the copy button, the hover effect from the text area gets removed and copy button display becomes none.
  • Sometimes copy button is barely visible as it overlaps with the text (Maybe it needs a background color)
CEL.Playground.-.Google.Chrome.2023-10-25.22-14-22.mp4

from cel-playground.

pateldivyesh1323 avatar pateldivyesh1323 commented on June 9, 2024

@monuelo I would like to work on this.

from cel-playground.

matheusfm avatar matheusfm commented on June 9, 2024

Hi @pateldivyesh1323 !
Thanks for your interest in working on this issue.

That figma already has this copy button: https://www.figma.com/file/pasjtGKiZws9pkiVK9Gzp3/Playground?type=design&node-id=0-1&mode=design

The expected behavior is for the copy button to appear when hovering over the text area.

from cel-playground.

matheusfm avatar matheusfm commented on June 9, 2024

PS: you can interact with the figma prototype here: https://www.figma.com/proto/pasjtGKiZws9pkiVK9Gzp3/Playground?type=design&node-id=29-836&scaling=min-zoom&page-id=0%3A1&starting-point-node-id=29%3A836&hide-ui=1

from cel-playground.

joaovictor3g avatar joaovictor3g commented on June 9, 2024

Hi @pateldivyesh1323, are you using the display property to make the copy button visible, right? Maybe if you use the visibility property that could work as expected. Also, our UX/UI designer is going to update the prototype adding the background-color in the copy button as you suggested.

from cel-playground.

pateldivyesh1323 avatar pateldivyesh1323 commented on June 9, 2024
  • Hello @joaovictor3g

    Using visibility property didn't worked. I wrapped text editor and copy button inside a div and applied hover event listener on it, so it started treating them as a single entity.

  • @matheusfm

    I opened a pull request, can you please review it.

from cel-playground.

Related Issues (15)

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.