Comments (6)
I inferred from marking this issue as "completed" that you are not interested in my contribution.
We absolutely are always interested in contributions!
But it was not clear to me that you want to do that from the first post. I closed it because it is on our ToDo list and no further action was needed on this for now. I'll reopen and label it as 'community contribution'. Looking forward to it!
You can use the implementation in the examples folder in this repo. This folder contains code for the current demo site. Please let us know if you have questions still.
from fluentui-blazor.
Of course. I have managed to reach a minimal configuration to correctly setup RTL mode at startup.
@* MainLayout.razor *@
@using Microsoft.FluentUI.AspNetCore.Components.DesignTokens
@inject Direction DirectionToken
@inherits LayoutComponentBase
...
@Body
...
<FluentDesignTheme Direction="@Direction" />
@code {
LocalizationDirection Direction { get; set; }
protected override async Task OnAfterRenderAsync(bool f)
{
await base.OnAfterRenderAsync(f);
if(!f)
return;
await DirectionToken.WithDefault("rtl");
Direction = LocalizationDirection.RightToLeft;
StateHasChanged();
}
}
Compontents like FluentTreeView
have issues when just direction is switched (check FluentTreeView on demo site when "Right to Left" setting is on.)
Is it ok to add this snippet to docs?
from fluentui-blazor.
Yes, please. Let's add a RTL section in the https://www.fluentui-blazor.net/CodeSetup page
from fluentui-blazor.
That is a very old demo site you are looking at. Hence, why we say on the first line:
The site at this URL is no longer being updated. Visit https://www.fluentui-blazor.net/ for an up-to-date version.
We should indeed update the docs on that but too much to do in too little time...until that time, you can use the source of the demo site here in the repo (in the examples folder) as an example implementation.
from fluentui-blazor.
That is a very old demo site you are looking at.
I knew it was a very old demo site. I had to refer to it because the main documentation has no mention of this mode (I should have said "an old demo site".)
I have no problem with contributing to this part of documentation, but I could not find the correct way to configure it.
I inferred from marking this issue as "completed" that you are not interested in my contribution.
from fluentui-blazor.
@mobinseven are you still planning to contribute this?
If not, that is totally ok too, but then I'll close the issue to keep expectations straight.
from fluentui-blazor.
Related Issues (20)
- Vertical slider range direction is reversed HOT 2
- fix: Columns not vertically aligned in FluentUI DataGrids HOT 7
- docs: fix typo in readme introduction
- Fix: Error in FluentTabs: Could not find 'fluentOverflowInitialize' HOT 2
- fix: DialogService Result Data is always the same instance as the Input Data. (value types/string support?) HOT 4
- Upgrade fom 4.8.1 to 4.9.1 throws Could not find 'fluentOverflowInitialize' HOT 7
- feat: add Overlay to Splash screen shown by ShowSplashScreenAsync HOT 3
- FluentTimePicker Culture HOT 6
- NavMenu Exception HOT 4
- rfc: add FromId and ToId to FluentSortableList HOT 3
- fix: Upload button unresponsive after condition changes in FluentInputFile component HOT 1
- FluentMenu (placed on the end of page) - Page content is resizing each time menu is opening HOT 5
- FluentDataGrid - column resizing with additional unwanted effects HOT 7
- fix: Unexpected binding behavior in FluentSelect HOT 3
- FluentCounterBadge destroy menu offset in FluentNavGroup HOT 5
- fix: popover doesn't close in FluentOverflow HOT 1
- feat: add setting to always display the first item in FluentOverflow HOT 1
- fix: Class property not passed down to fluent-design-system-provider HOT 2
- FluentSearch AutoComplete
- Need help with CSS isolation with new rendering modes Blazor HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui-blazor.