Giter Site home page Giter Site logo

Comments (5)

TerryZ avatar TerryZ commented on August 25, 2024

If only RTL for result list, you can set a css style content to override in your page/component:

.sp-result-area .sp-reaults li {
    direction: rtl;
}

from v-selectpage.

mhelaiwa avatar mhelaiwa commented on August 25, 2024

@TerryZ That's not enough my friend. I need to get the whole container to the right of the element. So I suggest to add rtl property that will make the container shifts to the right of the text box. or appendToBody that could be disabled when needed and give me the ability to manipulate the element through css.

from v-selectpage.

mhelaiwa avatar mhelaiwa commented on August 25, 2024

@TerryZ I found that we could get benefit of position property of Dropdown component you used within SelectPage so I'v created a PR #13 also I'v added Arabic translation here #11.

I think that will be enough to make it work in RTL interfaces. It may require adding css style to the component to indicate RTL and everything will work fine :)

from v-selectpage.

TerryZ avatar TerryZ commented on August 25, 2024

Ok, will add rtl option to set result list text direction and make it can config in plugin install for global setting in next release, stay tuned.

Vue.use(SelectPage, { rtl: true });

from v-selectpage.

TerryZ avatar TerryZ commented on August 25, 2024

add rtl option in last release(2.0.2)

from v-selectpage.

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.