GithubHelp home page GithubHelp logo

List View / List Items about materialui HOT 16 OPEN

invexgames avatar invexgames commented on June 11, 2024
List View / List Items

from materialui.

Comments (16)

nah0y avatar nah0y commented on June 11, 2024

Okay, it seems I can just create a panel, and add a Button and RippleConfig script on it? Can you confirm this is the correct way to do that?
Even if it is, it would be great to have a "ButtonPanel" component that comes as a predefined prefab :)

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

I'm not quite sure exactly what it is that you mean. Did you want something that exactly replicates the chip's functionality, or something like the SelectionBox?

from materialui.

nah0y avatar nah0y commented on June 11, 2024

I think this tool need something like a fully selectable "complex" component.
It's just a background (any size we want) that act like a button (hover, ripple etc...) and on top of it we can put whatever we want, icon on the left + text for example.

In the Material example, Chips can be dragged etc... but what I'm talking about is just a simple button (with material graphisme) on which we can put what we want.
So basically, it's just the Panel you already have, but with a Button attached and the Ripple script. And I think the default size should be something like 200x50 (not the big square that you have with the panel).

If you still don't see what I'm talking about, I can make a gif :p

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

Ohh, I think I know now. Gimme a sec.

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

You mean something like this (that you can resize)?

example

from materialui.

nah0y avatar nah0y commented on June 11, 2024

Exactly :)
So we could use that for example in a scroll list of contacts.
So maybe without the shadow?

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

So more like this? (Sorry for the delay)

example

from materialui.

nah0y avatar nah0y commented on June 11, 2024

Hum... Yes exactly like this :)

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

Awesome. I was planning on making a list-type object anyway. I'll get working on it :)

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

Actually I'll leave it open till it's added.

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

They've been added now, however, many things are still missing, namely:

  • Easy-to-manage dividers
  • Scrollbar management
  • Overscroll (getting it to look like lollipop might take a fair amount of work, but I want it so bad!)

from materialui.

nah0y avatar nah0y commented on June 11, 2024

Ahahah really nice!
For the overscroll... yes, it would be awesome, but certainly not the most important thing to do :)

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

Also, I want to give RippleConfig an option to delay the ripple by a frame or two, if it's part of a list. That way if you drag the list straight away, it won't create a ripple.

from materialui.

nah0y avatar nah0y commented on June 11, 2024

+100

from materialui.

grosssmutttr avatar grosssmutttr commented on June 11, 2024

Tested the current ListView/ListItems and the RippleEffect appears great on a pc but on mobile devices it is only displayed sometimes...perhaps this is because of the Mesh.createVBO performance issue.

from materialui.

InvexGames avatar InvexGames commented on June 11, 2024

Hi! Thanks for bringing this issue to my attention :)

I'm now working on MaterialUI in a private repo, adding features and the likes for an official release on the Asset Store - this means that I won't be adding/fixing anything more in this repo (sorry). Feel free to fork this one if you'd like to tackle to issue yourself, and/or send me an email at [email protected] if you want me to let you know when it's available.

Cheers,
Declan.

from materialui.

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.