Giter Club home page Giter Club logo

blazorfluentui's People

Contributors

alexnoddings avatar cobra86 avatar colonelbundy avatar eweol avatar frank67618 avatar jrolstad avatar limefrogyank avatar markiannucci avatar msftgits avatar npadrutt avatar ralms avatar scottkuhl avatar sebfischer83 avatar ssgums avatar vnbaaij avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blazorfluentui's Issues

FocusZone throwing exceptions when trying to serialize HTMLElement

This is a minor bug as it doesn't break anything. FocusZone still works. However, several of the properties are currently not working:

OnActiveElementChanged
OnBeforeFocus
ShouldInputLoseFocusOnArrowKey

The one throwing the exceptions is probably OnActiveElementChanged as it is supposed to get the current element in its callback. Something's not working when trying to serialize an HTMLElement back to an object. Probably should force it to serialize to ElementReference instead.

Default Namespace

Currently a lot of namespaces exist, which makes a lot of sense in the folder structure. However it would be nice if we set the namespace to 1 e.g.

@namespace BlazorFabric

This way it's much cleaner to use the components in other libs.

ContextualMenu not working correctly

The way submenus in a ContextualMenu are closed from lightdismiss clicks conflicts with the onclick event of each button in the submenu. May need to refactor the whole thing...

StackTokens-Properties not work

I think StackTokens-Properties like Max-Width or Max-Heigh now not working because the values don't have unit's.
I think there are two ways to solve this problem:

  1. values become strings instead of double
  2. all values get unit 'px' or '%'

messagebar css class in messagebar.css

Messagebar.css force font-weight for button up to 600 which should not be needed
maybe there is a problem with relation between messagebar and defaultbutton

Rating doesn't automatically change when using keyboard navigation

Not sure if this is really necessary.

The original React control will update the value of the Rating when navigating using the keyboard. In our current version of the control, you can navigate the control with the keyboard, but you need to push spacebar to make the value of the Rating change.

Should we make it like the React control or leave it alone?

Tooltip incomplete

Doesn't respond to overflow setting yet. So some controls with built-in Tooltip won't work because they depend on showing the full text only when text is overflowing.

CSS and JS files aren't automatically added to html on newer components

Need to add the following to Directory.Build.props:

<ItemGroup>
    <!-- .js/.css files will be referenced via <script>/<link> tags; other content files will just be included in the app's 'dist' directory without any tags referencing them -->
    <EmbeddedResource Include="wwwroot\**\*.js" LogicalName="blazor:js:%(RecursiveDir)%(Filename)%(Extension)" />
    <EmbeddedResource Include="wwwroot\**\*.css" LogicalName="blazor:css:%(RecursiveDir)%(Filename)%(Extension)" />
    <EmbeddedResource Include="wwwroot\**" Exclude="**\*.js;**\*.css" LogicalName="blazor:file:%(RecursiveDir)%(Filename)%(Extension)" />
  </ItemGroup>

Demo is not working

Hi
I wanted to checkout the demo, but the page stays on the "Loading.." page for me. I checked the Dev Tools and I have loads of 403 messages coming back.

image

Callout positioning does not work reliably.

Typescript code was copied and quickly shoehorned into this library. Need to check why the position calculation is not reliable. If the button has the callout opening on the right side, but the window border is close to the button, the callout should flip to the other side... but it does NOT.

Cleanup BaseComponent

  • The typescript file is full of functions that aren't sorted in any way.
  • The base directory has no order to it as well. It's not as bad as the typescript file, but it will be soon.
  • There is no guidance on what should be in the BaseComponent project. Currently, it's just what seems to be available in more than one control...

Delete stack.css

Almost all of the css has been moved into inline styles or <style> tags in the component (because of variable values). Make sure the rest of the css properties still in stack.css are moved to StackBase methods and delete the css file.

Verify attributes on already made controls

FocusTrapZone and probably other controls depend on a few attributes that I have been inconsistent in implementing. These are:

data-is-focusable
data-is-visible
data-focuszone-id
data-is-sub-focuszone

Need to go back and make sure these are on all the controls that need them so other controls work correctly. The buttons seem to have data-is-focusable but I don't know what else.

Rating loses focus when other component is updated

On the demo page, when you are keyboard navigating through the ratings, if you change the value on a Rating that has another UI element bound to its value, the Rating will lose focus. This should not happen. Not sure if it is the Rating component itself or the FocusZone inside that is the problem.

Demo does not work using Safari

First of all, thank you for your great work to leverage the React work of the Fabric team to be useable in a Blazor context. Great!

Secondly, I noticed that the demo at https://blazorfabric.azurewebsites.net works great on macOS using Chrome-based Browsers like Chrome or Microsoft Edge but not in Safari. Is this just a behavior of the moment or is no support, also in long term, not planned to support Safari?

Error message:
Bildschirmfoto 2019-10-30 um 09 30 20

Date of test:
30th Oct. 2019

macOS:
10.14.6 (18G95)

Safari:
Version 13.0.1 (14608.2.11.1.11)

[Feature Request] Basic Toggles

Hey @limefrogyank ,

Very big Thank you for your Work, I realy like it and it make fun to see progress of this beautifull project.
Is there a chance that you include Basic Toggles in one of the next releases?
It would be realy nice, when I could use them in my Blazor-PWA.

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.